C# 클래스 Avro.BinaryDecoder

Read leaf values.
상속: Decoder
파일 보기 프로젝트 열기: thirumg/Avro.NET

공개 프로퍼티들

프로퍼티 타입 설명
Instance BinaryDecoder

공개 메소드들

메소드 설명
ReadArrayStart ( Stream stream ) : long
ReadBool ( Stream Stream ) : bool

a boolean is written as a single byte whose value is either 0 (false) or 1 (true).

ReadBytes ( Stream Stream ) : byte[]

Bytes are encoded as a long followed by that many bytes of data.

ReadDouble ( Stream Stream ) : double

A double is written as 8 bytes. The double is converted into a 64-bit integer using a method equivalent to Java's doubleToLongBits and then encoded in little-endian format.

ReadFixed ( Stream Stream, byte buffer ) : void
ReadFloat ( Stream Stream ) : float

A float is written as 4 bytes. The float is converted into a 32-bit integer using a method equivalent to Java's floatToIntBits and then encoded in little-endian format.

ReadInt ( Stream Stream ) : int

int and long values are written using variable-length, zig-zag coding.

ReadLong ( Stream Stream ) : long

int and long values are written using variable-length, zig-zag coding.

ReadMapStart ( Stream Stream ) : long
ReadNull ( ) : object

null is written as zero bytes

ReadString ( Stream Stream ) : string
SkipBoolean ( Stream Stream ) : void
SkipBytes ( Stream Stream ) : void
SkipDouble ( Stream Stream ) : void
SkipFloat ( Stream Stream ) : void
SkipInt ( Stream Stream ) : void
SkipLong ( Stream Stream ) : void
SkipNull ( Stream Stream ) : void
SkipString ( Stream Stream ) : void
intBitsToFloat ( int value ) : float

보호된 메소드들

메소드 설명
doReadItemCount ( Stream Stream ) : long

비공개 메소드들

메소드 설명
ReadFixed ( Stream Stream, byte buffer, int start, int length ) : void
Skip ( Stream Stream, int p ) : void
Skip ( Stream Stream, long p ) : void
ord ( byte p ) : byte
read ( Stream Stream ) : byte
read ( Stream Stream, long p ) : byte[]
skip ( long block_size ) : void

메소드 상세

ReadArrayStart() 공개 메소드

public ReadArrayStart ( Stream stream ) : long
stream Stream
리턴 long

ReadBool() 공개 메소드

a boolean is written as a single byte whose value is either 0 (false) or 1 (true).
public ReadBool ( Stream Stream ) : bool
Stream Stream
리턴 bool

ReadBytes() 공개 메소드

Bytes are encoded as a long followed by that many bytes of data.
public ReadBytes ( Stream Stream ) : byte[]
Stream Stream
리턴 byte[]

ReadDouble() 공개 메소드

A double is written as 8 bytes. The double is converted into a 64-bit integer using a method equivalent to Java's doubleToLongBits and then encoded in little-endian format.
public ReadDouble ( Stream Stream ) : double
Stream Stream
리턴 double

ReadFixed() 공개 메소드

public ReadFixed ( Stream Stream, byte buffer ) : void
Stream Stream
buffer byte
리턴 void

ReadFloat() 공개 메소드

A float is written as 4 bytes. The float is converted into a 32-bit integer using a method equivalent to Java's floatToIntBits and then encoded in little-endian format.
public ReadFloat ( Stream Stream ) : float
Stream Stream
리턴 float

ReadInt() 공개 메소드

int and long values are written using variable-length, zig-zag coding.
public ReadInt ( Stream Stream ) : int
Stream Stream
리턴 int

ReadLong() 공개 메소드

int and long values are written using variable-length, zig-zag coding.
public ReadLong ( Stream Stream ) : long
Stream Stream
리턴 long

ReadMapStart() 공개 메소드

public ReadMapStart ( Stream Stream ) : long
Stream Stream
리턴 long

ReadNull() 공개 메소드

null is written as zero bytes
public ReadNull ( ) : object
리턴 object

ReadString() 공개 메소드

public ReadString ( Stream Stream ) : string
Stream Stream
리턴 string

SkipBoolean() 공개 메소드

public SkipBoolean ( Stream Stream ) : void
Stream Stream
리턴 void

SkipBytes() 공개 메소드

public SkipBytes ( Stream Stream ) : void
Stream Stream
리턴 void

SkipDouble() 공개 메소드

public SkipDouble ( Stream Stream ) : void
Stream Stream
리턴 void

SkipFloat() 공개 메소드

public SkipFloat ( Stream Stream ) : void
Stream Stream
리턴 void

SkipInt() 공개 메소드

public SkipInt ( Stream Stream ) : void
Stream Stream
리턴 void

SkipLong() 공개 메소드

public SkipLong ( Stream Stream ) : void
Stream Stream
리턴 void

SkipNull() 공개 메소드

public SkipNull ( Stream Stream ) : void
Stream Stream
리턴 void

SkipString() 공개 메소드

public SkipString ( Stream Stream ) : void
Stream Stream
리턴 void

doReadItemCount() 보호된 메소드

protected doReadItemCount ( Stream Stream ) : long
Stream Stream
리턴 long

intBitsToFloat() 공개 정적인 메소드

public static intBitsToFloat ( int value ) : float
value int
리턴 float

프로퍼티 상세

Instance 공개적으로 정적으로 프로퍼티

public static BinaryDecoder Instance
리턴 BinaryDecoder