C# 클래스 FlatBuffers.ByteBuffer

Class to mimick Java's ByteBuffer which is used heavily in Flatbuffers
파일 보기 프로젝트 열기: google/flatbuffers 1 사용 예제들

공개 메소드들

메소드 설명
ByteBuffer ( byte buffer ) : System
ByteBuffer ( byte buffer, int pos ) : System
Get ( int index ) : byte
GetDouble ( int offset ) : double
GetFloat ( int offset ) : float
GetInt ( int offset ) : int
GetLong ( int offset ) : long
GetSbyte ( int index ) : sbyte
GetShort ( int offset ) : short
GetUint ( int offset ) : uint
GetUlong ( int offset ) : ulong
GetUshort ( int offset ) : ushort
Put ( int offset, byte value ) : void
PutByte ( int offset, byte value ) : void
PutByte ( int offset, byte value, int count ) : void
PutDouble ( int offset, double value ) : void
PutFloat ( int offset, float value ) : void
PutInt ( int offset, int value ) : void
PutLong ( int offset, long value ) : void
PutSbyte ( int offset, sbyte value ) : void
PutShort ( int offset, short value ) : void
PutUint ( int offset, uint value ) : void
PutUlong ( int offset, ulong value ) : void
PutUshort ( int offset, ushort value ) : void
Reset ( ) : void
ReverseBytes ( uint input ) : uint
ReverseBytes ( ulong input ) : ulong
ReverseBytes ( ushort input ) : ushort

보호된 메소드들

메소드 설명
ReadLittleEndian ( int offset, int count ) : ulong
WriteLittleEndian ( int offset, int count, ulong data ) : void

비공개 메소드들

메소드 설명
AssertOffsetAndLength ( int offset, int length ) : void

메소드 상세

ByteBuffer() 공개 메소드

public ByteBuffer ( byte buffer ) : System
buffer byte
리턴 System

ByteBuffer() 공개 메소드

public ByteBuffer ( byte buffer, int pos ) : System
buffer byte
pos int
리턴 System

Get() 공개 메소드

public Get ( int index ) : byte
index int
리턴 byte

GetDouble() 공개 메소드

public GetDouble ( int offset ) : double
offset int
리턴 double

GetFloat() 공개 메소드

public GetFloat ( int offset ) : float
offset int
리턴 float

GetInt() 공개 메소드

public GetInt ( int offset ) : int
offset int
리턴 int

GetLong() 공개 메소드

public GetLong ( int offset ) : long
offset int
리턴 long

GetSbyte() 공개 메소드

public GetSbyte ( int index ) : sbyte
index int
리턴 sbyte

GetShort() 공개 메소드

public GetShort ( int offset ) : short
offset int
리턴 short

GetUint() 공개 메소드

public GetUint ( int offset ) : uint
offset int
리턴 uint

GetUlong() 공개 메소드

public GetUlong ( int offset ) : ulong
offset int
리턴 ulong

GetUshort() 공개 메소드

public GetUshort ( int offset ) : ushort
offset int
리턴 ushort

Put() 공개 메소드

public Put ( int offset, byte value ) : void
offset int
value byte
리턴 void

PutByte() 공개 메소드

public PutByte ( int offset, byte value ) : void
offset int
value byte
리턴 void

PutByte() 공개 메소드

public PutByte ( int offset, byte value, int count ) : void
offset int
value byte
count int
리턴 void

PutDouble() 공개 메소드

public PutDouble ( int offset, double value ) : void
offset int
value double
리턴 void

PutFloat() 공개 메소드

public PutFloat ( int offset, float value ) : void
offset int
value float
리턴 void

PutInt() 공개 메소드

public PutInt ( int offset, int value ) : void
offset int
value int
리턴 void

PutLong() 공개 메소드

public PutLong ( int offset, long value ) : void
offset int
value long
리턴 void

PutSbyte() 공개 메소드

public PutSbyte ( int offset, sbyte value ) : void
offset int
value sbyte
리턴 void

PutShort() 공개 메소드

public PutShort ( int offset, short value ) : void
offset int
value short
리턴 void

PutUint() 공개 메소드

public PutUint ( int offset, uint value ) : void
offset int
value uint
리턴 void

PutUlong() 공개 메소드

public PutUlong ( int offset, ulong value ) : void
offset int
value ulong
리턴 void

PutUshort() 공개 메소드

public PutUshort ( int offset, ushort value ) : void
offset int
value ushort
리턴 void

ReadLittleEndian() 보호된 메소드

protected ReadLittleEndian ( int offset, int count ) : ulong
offset int
count int
리턴 ulong

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

ReverseBytes() 정적인 공개 메소드

static public ReverseBytes ( uint input ) : uint
input uint
리턴 uint

ReverseBytes() 정적인 공개 메소드

static public ReverseBytes ( ulong input ) : ulong
input ulong
리턴 ulong

ReverseBytes() 정적인 공개 메소드

static public ReverseBytes ( ushort input ) : ushort
input ushort
리턴 ushort

WriteLittleEndian() 보호된 메소드

protected WriteLittleEndian ( int offset, int count, ulong data ) : void
offset int
count int
data ulong
리턴 void