C# 클래스 BitSharp.Common.Bits

파일 보기 프로젝트 열기: pmlyon/BitSharp 1 사용 예제들

공개 메소드들

메소드 설명
EncodeBool ( bool value, byte buffer, int offset ) : void
EncodeInt16 ( short value, byte buffer, int offset ) : void
EncodeInt32 ( int value, byte buffer, int offset ) : void
EncodeInt32BE ( int value, byte buffer, int offset ) : void
EncodeInt64 ( long value, byte buffer, int offset ) : void
EncodeInt64BE ( long value, byte buffer, int offset ) : void
EncodeUInt16 ( ushort value, byte buffer, int offset ) : void
EncodeUInt32 ( uint value, byte buffer, int offset ) : void
EncodeUInt32BE ( uint value, byte buffer, int offset ) : void
EncodeUInt64 ( ulong value, byte buffer, int offset ) : void
EncodeUInt64BE ( ulong value, byte buffer, int offset ) : void
GetBytes ( Int16 value ) : byte[]
GetBytes ( Int32 value ) : byte[]
GetBytes ( Int64 value ) : byte[]
GetBytes ( UInt16 value ) : byte[]
GetBytes ( UInt256 value ) : byte[]
GetBytes ( UInt32 value ) : byte[]
GetBytes ( UInt64 value ) : byte[]
Order ( byte value ) : byte[]
ToInt32 ( byte value, int startIndex ) : Int32
ToInt64 ( byte value, int startIndex ) : Int64
ToInt64BE ( byte buffer, int offset ) : long
ToString ( byte value, int startIndex ) : string
ToUInt16 ( byte value, int startIndex ) : UInt16
ToUInt256 ( byte value, int startIndex ) : UInt256
ToUInt32 ( byte value, int startIndex ) : UInt32
ToUInt64 ( byte value, int startIndex ) : UInt64
ToUInt64BE ( byte buffer, int offset ) : ulong

메소드 상세

EncodeBool() 공개 정적인 메소드

public static EncodeBool ( bool value, byte buffer, int offset ) : void
value bool
buffer byte
offset int
리턴 void

EncodeInt16() 공개 정적인 메소드

public static EncodeInt16 ( short value, byte buffer, int offset ) : void
value short
buffer byte
offset int
리턴 void

EncodeInt32() 공개 정적인 메소드

public static EncodeInt32 ( int value, byte buffer, int offset ) : void
value int
buffer byte
offset int
리턴 void

EncodeInt32BE() 공개 정적인 메소드

public static EncodeInt32BE ( int value, byte buffer, int offset ) : void
value int
buffer byte
offset int
리턴 void

EncodeInt64() 공개 정적인 메소드

public static EncodeInt64 ( long value, byte buffer, int offset ) : void
value long
buffer byte
offset int
리턴 void

EncodeInt64BE() 공개 정적인 메소드

public static EncodeInt64BE ( long value, byte buffer, int offset ) : void
value long
buffer byte
offset int
리턴 void

EncodeUInt16() 공개 정적인 메소드

public static EncodeUInt16 ( ushort value, byte buffer, int offset ) : void
value ushort
buffer byte
offset int
리턴 void

EncodeUInt32() 공개 정적인 메소드

public static EncodeUInt32 ( uint value, byte buffer, int offset ) : void
value uint
buffer byte
offset int
리턴 void

EncodeUInt32BE() 공개 정적인 메소드

public static EncodeUInt32BE ( uint value, byte buffer, int offset ) : void
value uint
buffer byte
offset int
리턴 void

EncodeUInt64() 공개 정적인 메소드

public static EncodeUInt64 ( ulong value, byte buffer, int offset ) : void
value ulong
buffer byte
offset int
리턴 void

EncodeUInt64BE() 공개 정적인 메소드

public static EncodeUInt64BE ( ulong value, byte buffer, int offset ) : void
value ulong
buffer byte
offset int
리턴 void

GetBytes() 공개 정적인 메소드

public static GetBytes ( Int16 value ) : byte[]
value System.Int16
리턴 byte[]

GetBytes() 공개 정적인 메소드

public static GetBytes ( Int32 value ) : byte[]
value Int32
리턴 byte[]

GetBytes() 공개 정적인 메소드

public static GetBytes ( Int64 value ) : byte[]
value Int64
리턴 byte[]

GetBytes() 공개 정적인 메소드

public static GetBytes ( UInt16 value ) : byte[]
value UInt16
리턴 byte[]

GetBytes() 공개 정적인 메소드

public static GetBytes ( UInt256 value ) : byte[]
value UInt256
리턴 byte[]

GetBytes() 공개 정적인 메소드

public static GetBytes ( UInt32 value ) : byte[]
value UInt32
리턴 byte[]

GetBytes() 공개 정적인 메소드

public static GetBytes ( UInt64 value ) : byte[]
value UInt64
리턴 byte[]

Order() 공개 정적인 메소드

public static Order ( byte value ) : byte[]
value byte
리턴 byte[]

ToInt32() 공개 정적인 메소드

public static ToInt32 ( byte value, int startIndex ) : Int32
value byte
startIndex int
리턴 Int32

ToInt64() 공개 정적인 메소드

public static ToInt64 ( byte value, int startIndex ) : Int64
value byte
startIndex int
리턴 Int64

ToInt64BE() 공개 정적인 메소드

public static ToInt64BE ( byte buffer, int offset ) : long
buffer byte
offset int
리턴 long

ToString() 공개 정적인 메소드

public static ToString ( byte value, int startIndex ) : string
value byte
startIndex int
리턴 string

ToUInt16() 공개 정적인 메소드

public static ToUInt16 ( byte value, int startIndex ) : UInt16
value byte
startIndex int
리턴 UInt16

ToUInt256() 공개 정적인 메소드

public static ToUInt256 ( byte value, int startIndex ) : UInt256
value byte
startIndex int
리턴 UInt256

ToUInt32() 공개 정적인 메소드

public static ToUInt32 ( byte value, int startIndex ) : UInt32
value byte
startIndex int
리턴 UInt32

ToUInt64() 공개 정적인 메소드

public static ToUInt64 ( byte value, int startIndex ) : UInt64
value byte
startIndex int
리턴 UInt64

ToUInt64BE() 공개 정적인 메소드

public static ToUInt64BE ( byte buffer, int offset ) : ulong
buffer byte
offset int
리턴 ulong