Global
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.encoding.binary
- Platforms: .NET, .NET Standard 2.0, Island
BigEndian
class var BigEndian: bigEndian;
static bigEndian BigEndian
static var BigEndian: bigEndian
BigEndian bigEndian
Shared FIELD BigEndian() As bigEndian
LittleEndian
class var LittleEndian: littleEndian;
static littleEndian LittleEndian
static var LittleEndian: littleEndian
LittleEndian littleEndian
Shared FIELD LittleEndian() As littleEndian
MaxVarintLen16
const MaxVarintLen16: Int64 = 3;
const Int64 MaxVarintLen16 = 3
static let MaxVarintLen16: Int64 = 3
const MaxVarintLen16 Int64 = 3
Dim MaxVarintLen16 As Int64 = 3
MaxVarintLen32
const MaxVarintLen32: Int64 = 5;
const Int64 MaxVarintLen32 = 5
static let MaxVarintLen32: Int64 = 5
const MaxVarintLen32 Int64 = 5
Dim MaxVarintLen32 As Int64 = 5
MaxVarintLen64
const MaxVarintLen64: Int64 = 10;
const Int64 MaxVarintLen64 = 10
static let MaxVarintLen64: Int64 = 10
const MaxVarintLen64 Int64 = 10
Dim MaxVarintLen64 As Int64 = 10
PutUvarint
Parameters:
- buf:
- x:
PutVarint
Parameters:
- buf:
- x:
Read
func Read(r Reader, order ByteOrder, data interface{}) error
Parameters:
- r:
- order:
- data:
ReadUvarint
class method ReadUvarint(r: ByteReader): tuple of (uint64, error)
static (uint64, error) ReadUvarint(ByteReader r)
static func ReadUvarint(_ r: ByteReader) -> (uint64, error)
func ReadUvarint(r ByteReader) tuple of (uint64, error)
Shared Function ReadUvarint(r As ByteReader) As Tuple (Of uint64, error)
Parameters:
- r:
ReadVarint
class method ReadVarint(r: ByteReader): tuple of (int64, error)
static (int64, error) ReadVarint(ByteReader r)
static func ReadVarint(_ r: ByteReader) -> (int64, error)
func ReadVarint(r ByteReader) tuple of (int64, error)
Shared Function ReadVarint(r As ByteReader) As Tuple (Of int64, error)
Parameters:
- r:
Size
func Size(v interface{}) int
Parameters:
- v:
Uvarint
Parameters:
- buf:
Varint
Parameters:
- buf:
Write
func Write(w Writer, order ByteOrder, data interface{}) error
Parameters:
- w:
- order:
- data:
MaxVarintLen16
const MaxVarintLen16: Int64 = 3;
const Int64 MaxVarintLen16 = 3
static let MaxVarintLen16: Int64 = 3
const MaxVarintLen16 Int64 = 3
Dim MaxVarintLen16 As Int64 = 3
MaxVarintLen32
const MaxVarintLen32: Int64 = 5;
const Int64 MaxVarintLen32 = 5
static let MaxVarintLen32: Int64 = 5
const MaxVarintLen32 Int64 = 5
Dim MaxVarintLen32 As Int64 = 5
MaxVarintLen64
BigEndian
class var BigEndian: bigEndian;
static bigEndian BigEndian
static var BigEndian: bigEndian
BigEndian bigEndian
Shared FIELD BigEndian() As bigEndian
LittleEndian
class var LittleEndian: littleEndian;
static littleEndian LittleEndian
static var LittleEndian: littleEndian
LittleEndian littleEndian
Shared FIELD LittleEndian() As littleEndian
PutUvarint
Parameters:
- buf:
- x:
PutVarint
Parameters:
- buf:
- x:
Read
func Read(r Reader, order ByteOrder, data interface{}) error
Parameters:
- r:
- order:
- data:
ReadUvarint
class method ReadUvarint(r: ByteReader): tuple of (uint64, error)
static (uint64, error) ReadUvarint(ByteReader r)
static func ReadUvarint(_ r: ByteReader) -> (uint64, error)
func ReadUvarint(r ByteReader) tuple of (uint64, error)
Shared Function ReadUvarint(r As ByteReader) As Tuple (Of uint64, error)
Parameters:
- r:
ReadVarint
class method ReadVarint(r: ByteReader): tuple of (int64, error)
static (int64, error) ReadVarint(ByteReader r)
static func ReadVarint(_ r: ByteReader) -> (int64, error)
func ReadVarint(r ByteReader) tuple of (int64, error)
Shared Function ReadVarint(r As ByteReader) As Tuple (Of int64, error)
Parameters:
- r:
Size
func Size(v interface{}) int
Parameters:
- v:
Uvarint
Parameters:
- buf:
Varint
Parameters:
- buf:
Write
func Write(w Writer, order ByteOrder, data interface{}) error
Parameters:
- w:
- order:
- data: