github.com/solo-io/cue@v0.4.7/encoding/protobuf/jsonpb/testdata/decoder/base64.txtar (about)

     1  -- schema.cue --
     2  b: [string]: bytes
     3  
     4  -- std.cue --
     5  b: hello: "SGVsbG8sIOS4lueVjA=="
     6  b: noPad: "SGVsbG8sIOS4lueVjA"
     7  b: bar:   "c29tZSBkYXRhIHdpdGggACBhbmQg77u/"
     8  
     9  // A large one-line text.
    10  b: multi: """
    11      TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieSB0aGlz
    12      IHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlciBhbmltYWxzLCB3aGljaCBpcyBhIGx1c3Qgb2Yg
    13      dGhlIG1pbmQsIHRoYXQgYnkgYSBwZXJzZXZlcmFuY2Ugb2YgZGVsaWdodCBpbiB0aGUgY29udGlu
    14      dWVkIGFuZCBpbmRlZmF0aWdhYmxlIGdlbmVyYXRpb24gb2Yga25vd2xlZGdlLCBleGNlZWRzIHRo
    15      ZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm5hbCBwbGVhc3VyZS4=
    16      """
    17  
    18  -- url.cue --
    19  b: bar:   "c29tZSBkYXRhIHdpdGggACBhbmQg77u_"
    20  
    21  -- out/jsonpb/std.cue --
    22  b: hello: 'Hello, 世界'
    23  b: noPad: 'Hello, 世界'
    24  b: bar:   'some data with \x00 and \ufeff'
    25  
    26  // A large one-line text.
    27  b: multi: '''
    28  	Man is distinguished, not only by his reason, but by this singular passion from other animals, which is a lust of the mind, that by a perseverance of delight in the continued and indefatigable generation of knowledge, exceeds the short vehemence of any carnal pleasure.
    29  	'''
    30  -- out/jsonpb/url.cue --
    31  b: bar: 'some data with \x00 and \ufeff'