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

 

class method PutUvarint(buf: Slice<Byte>; x: uint64): int

 

static int PutUvarint(Slice<Byte> buf, uint64 x)

 

static func PutUvarint(_ buf: Slice<Byte>, _ x: uint64) -> int

 

func PutUvarint(buf Slice<Byte>, x uint64) int

 

Shared Function PutUvarint(buf As Slice<Byte>, x As uint64) As int

Parameters:

  • buf:
  • x:

PutVarint

 

class method PutVarint(buf: Slice<Byte>; x: int64): int

 

static int PutVarint(Slice<Byte> buf, int64 x)

 

static func PutVarint(_ buf: Slice<Byte>, _ x: int64) -> int

 

func PutVarint(buf Slice<Byte>, x int64) int

 

Shared Function PutVarint(buf As Slice<Byte>, x As int64) As int

Parameters:

  • buf:
  • x:

Read

 

class method Read(r: Reader; order: ByteOrder; data: Object): error

 

static error Read(Reader r, ByteOrder order, Object data)

 

static func Read(_ r: Reader, _ order: ByteOrder, _ data: Object) -> error

 

func Read(r Reader, order ByteOrder, data interface{}) error

 

Shared Function Read(r As Reader, order As ByteOrder, data As Object) As 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

 

class method Size(v: Object): int

 

static int Size(Object v)

 

static func Size(_ v: Object) -> int

 

func Size(v interface{}) int

 

Shared Function Size(v As Object) As int

Parameters:

  • v:

Uvarint

 

class method Uvarint(buf: Slice<Byte>): tuple of (uint64, Int64)

 

static (uint64, Int64) Uvarint(Slice<Byte> buf)

 

static func Uvarint(_ buf: Slice<Byte>) -> (uint64, Int64)

 

func Uvarint(buf Slice<Byte>) tuple of (uint64, Int64)

 

Shared Function Uvarint(buf As Slice<Byte>) As Tuple (Of uint64, Int64)

Parameters:

  • buf:

Varint

 

class method Varint(buf: Slice<Byte>): tuple of (int64, Int64)

 

static (int64, Int64) Varint(Slice<Byte> buf)

 

static func Varint(_ buf: Slice<Byte>) -> (int64, Int64)

 

func Varint(buf Slice<Byte>) tuple of (int64, Int64)

 

Shared Function Varint(buf As Slice<Byte>) As Tuple (Of int64, Int64)

Parameters:

  • buf:

Write

 

class method Write(w: Writer; order: ByteOrder; data: Object): error

 

static error Write(Writer w, ByteOrder order, Object data)

 

static func Write(_ w: Writer, _ order: ByteOrder, _ data: Object) -> error

 

func Write(w Writer, order ByteOrder, data interface{}) error

 

Shared Function Write(w As Writer, order As ByteOrder, data As Object) As 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

 

const MaxVarintLen64: Int64 = 10;

 

const Int64 MaxVarintLen64 = 10

 

static let MaxVarintLen64: Int64 = 10

 

const MaxVarintLen64 Int64 = 10

 

Dim MaxVarintLen64 As Int64 = 10

 

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

 

class method PutUvarint(buf: Slice<Byte>; x: uint64): int

 

static int PutUvarint(Slice<Byte> buf, uint64 x)

 

static func PutUvarint(_ buf: Slice<Byte>, _ x: uint64) -> int

 

func PutUvarint(buf Slice<Byte>, x uint64) int

 

Shared Function PutUvarint(buf As Slice<Byte>, x As uint64) As int

Parameters:

  • buf:
  • x:

PutVarint

 

class method PutVarint(buf: Slice<Byte>; x: int64): int

 

static int PutVarint(Slice<Byte> buf, int64 x)

 

static func PutVarint(_ buf: Slice<Byte>, _ x: int64) -> int

 

func PutVarint(buf Slice<Byte>, x int64) int

 

Shared Function PutVarint(buf As Slice<Byte>, x As int64) As int

Parameters:

  • buf:
  • x:

Read

 

class method Read(r: Reader; order: ByteOrder; data: Object): error

 

static error Read(Reader r, ByteOrder order, Object data)

 

static func Read(_ r: Reader, _ order: ByteOrder, _ data: Object) -> error

 

func Read(r Reader, order ByteOrder, data interface{}) error

 

Shared Function Read(r As Reader, order As ByteOrder, data As Object) As 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

 

class method Size(v: Object): int

 

static int Size(Object v)

 

static func Size(_ v: Object) -> int

 

func Size(v interface{}) int

 

Shared Function Size(v As Object) As int

Parameters:

  • v:

Uvarint

 

class method Uvarint(buf: Slice<Byte>): tuple of (uint64, Int64)

 

static (uint64, Int64) Uvarint(Slice<Byte> buf)

 

static func Uvarint(_ buf: Slice<Byte>) -> (uint64, Int64)

 

func Uvarint(buf Slice<Byte>) tuple of (uint64, Int64)

 

Shared Function Uvarint(buf As Slice<Byte>) As Tuple (Of uint64, Int64)

Parameters:

  • buf:

Varint

 

class method Varint(buf: Slice<Byte>): tuple of (int64, Int64)

 

static (int64, Int64) Varint(Slice<Byte> buf)

 

static func Varint(_ buf: Slice<Byte>) -> (int64, Int64)

 

func Varint(buf Slice<Byte>) tuple of (int64, Int64)

 

Shared Function Varint(buf As Slice<Byte>) As Tuple (Of int64, Int64)

Parameters:

  • buf:

Write

 

class method Write(w: Writer; order: ByteOrder; data: Object): error

 

static error Write(Writer w, ByteOrder order, Object data)

 

static func Write(_ w: Writer, _ order: ByteOrder, _ data: Object) -> error

 

func Write(w Writer, order ByteOrder, data interface{}) error

 

Shared Function Write(w As Writer, order As ByteOrder, data As Object) As error

Parameters:

  • w:
  • order:
  • data: