Module: stdgo.encoding.base64
Overview
Index
-
function benchmarkDecodeString(_b:stdgo._internal.testing.B):Void
-
function benchmarkEncodeToString(_b:stdgo._internal.testing.B):Void
-
function benchmarkNewEncoding(_b:stdgo._internal.testing.B):Void
-
function newEncoding(_encoder:String):stdgo.encoding.base64.Encoding
-
function testDecodeBounds(_t:stdgo._internal.testing.T_):Void
-
function testDecodeCorrupt(_t:stdgo._internal.testing.T_):Void
-
function testDecoderBuffering(_t:stdgo._internal.testing.T_):Void
-
function testDecoderIssue15656(_t:stdgo._internal.testing.T_):Void
-
function testDecoderIssue3577(_t:stdgo._internal.testing.T_):Void
-
function testDecoderIssue4779(_t:stdgo._internal.testing.T_):Void
-
function testDecoderIssue7733(_t:stdgo._internal.testing.T_):Void
-
function testEncoderBuffering(_t:stdgo._internal.testing.T_):Void
-
function testNewLineCharacters(_t:stdgo._internal.testing.T_):Void
Constants
import stdgo.encoding.base64.Base64
final noPadding:Int = stdgo._internal.encoding.base64.Base64_noPadding.noPadding
final stdPadding:Int = stdgo._internal.encoding.base64.Base64_stdPadding.stdPadding
Variables
import stdgo.encoding.base64.Base64
var rawStdEncoding:stdgo.encoding.base64.Encoding
var rawURLEncoding:stdgo.encoding.base64.Encoding
var stdEncoding:stdgo.encoding.base64.Encoding
var urlencoding:stdgo.encoding.base64.Encoding
Classes
import stdgo.encoding.base64.*
class Base64
Package base64 implements base64 encoding as specified by RFC 4648.
Base64 function benchmarkDecodeString
function benchmarkDecodeString(_b:stdgo._internal.testing.B):Void
Base64 function benchmarkEncodeToString
function benchmarkEncodeToString(_b:stdgo._internal.testing.B):Void
Base64 function benchmarkNewEncoding
function benchmarkNewEncoding(_b:stdgo._internal.testing.B):Void
Base64 function newDecoder
function newDecoder(_enc:stdgo.encoding.base64.Encoding, _r:stdgo._internal.io.Reader):stdgo._internal.io.Reader
NewDecoder constructs a new base64 stream decoder.
Base64 function newEncoder
function newEncoder(_enc:stdgo.encoding.base64.Encoding, _w:stdgo._internal.io.Writer):stdgo._internal.io.WriteCloser
NewEncoder returns a new base64 stream encoder. Data written to
the returned writer will be encoded using enc and then written to w.
Base64 encodings operate in 4-byte blocks; when finished
writing, the caller must Close the returned encoder to flush any
partially written blocks.
Base64 function newEncoding
function newEncoding(_encoder:String):stdgo.encoding.base64.Encoding
NewEncoding returns a new padded Encoding defined by the given alphabet,
which must be a 64-byte string that does not contain the padding character
or CR / LF ('\r', '\n'). The alphabet is treated as sequence of byte values
without any special treatment for multi-byte UTF-8.
The resulting Encoding uses the default padding character ('='),
which may be changed or disabled via WithPadding.
Base64 function testBig
function testBig(_t:stdgo._internal.testing.T_):Void
Base64 function testDecode
function testDecode(_t:stdgo._internal.testing.T_):Void
Base64 function testDecodeBounds
function testDecodeBounds(_t:stdgo._internal.testing.T_):Void
Base64 function testDecodeCorrupt
function testDecodeCorrupt(_t:stdgo._internal.testing.T_):Void
Base64 function testDecodedLen
function testDecodedLen(_t:stdgo._internal.testing.T_):Void
Base64 function testDecoder
function testDecoder(_t:stdgo._internal.testing.T_):Void
Base64 function testDecoderBuffering
function testDecoderBuffering(_t:stdgo._internal.testing.T_):Void
Base64 function testDecoderIssue15656
function testDecoderIssue15656(_t:stdgo._internal.testing.T_):Void
Base64 function testDecoderIssue3577
function testDecoderIssue3577(_t:stdgo._internal.testing.T_):Void
tests that we don't ignore errors from our underlying reader
Base64 function testDecoderIssue4779
function testDecoderIssue4779(_t:stdgo._internal.testing.T_):Void
Base64 function testDecoderIssue7733
function testDecoderIssue7733(_t:stdgo._internal.testing.T_):Void
Base64 function testDecoderRaw
function testDecoderRaw(_t:stdgo._internal.testing.T_):Void
Base64 function testEncode
function testEncode(_t:stdgo._internal.testing.T_):Void
Base64 function testEncodedLen
function testEncodedLen(_t:stdgo._internal.testing.T_):Void
Base64 function testEncoder
function testEncoder(_t:stdgo._internal.testing.T_):Void
Base64 function testEncoderBuffering
function testEncoderBuffering(_t:stdgo._internal.testing.T_):Void
Base64 function testNewLineCharacters
function testNewLineCharacters(_t:stdgo._internal.testing.T_):Void
Typedefs
import stdgo.encoding.base64.*
typedef CorruptInputError
typedef CorruptInputError = stdgo._internal.encoding.base64.CorruptInputError;
typedef T__struct_0
typedef T__struct_0 = stdgo._internal.encoding.base64.T__struct_0;
typedef T__struct_1
typedef T__struct_1 = stdgo._internal.encoding.base64.T__struct_1;