cuelang.org/go@v0.10.1/encoding/protobuf/jsonpb/testdata/decoder/base64.txtar (about)

     1  -- schema.cue --
     2  b: [string]: bytes
     3  -- std.cue --
     4  b: hello: "SGVsbG8sIOS4lueVjA=="
     5  b: noPad: "SGVsbG8sIOS4lueVjA"
     6  b: bar:   "c29tZSBkYXRhIHdpdGggACBhbmQg77u/"
     7  
     8  // A large one-line text.
     9  b: multi: """
    10  	TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieSB0aGlz
    11  	IHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlciBhbmltYWxzLCB3aGljaCBpcyBhIGx1c3Qgb2Yg
    12  	dGhlIG1pbmQsIHRoYXQgYnkgYSBwZXJzZXZlcmFuY2Ugb2YgZGVsaWdodCBpbiB0aGUgY29udGlu
    13  	dWVkIGFuZCBpbmRlZmF0aWdhYmxlIGdlbmVyYXRpb24gb2Yga25vd2xlZGdlLCBleGNlZWRzIHRo
    14  	ZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm5hbCBwbGVhc3VyZS4=
    15  	"""
    16  -- url.cue --
    17  b: bar: "c29tZSBkYXRhIHdpdGggACBhbmQg77u_"
    18  -- out/jsonpb/std.cue --
    19  b: hello: 'Hello, 世界'
    20  b: noPad: 'Hello, 世界'
    21  b: bar:   'some data with \x00 and \ufeff'
    22  
    23  // A large one-line text.
    24  b: multi: '''
    25  	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.
    26  	'''
    27  -- out/jsonpb/url.cue --
    28  b: bar: 'some data with \x00 and \ufeff'