C# 클래스 Shared.ByteUtils

파일 보기 프로젝트 열기: jbouzaglou/PetPigeonsESB

공개 메소드들

메소드 설명
ReadAsciiStringFromArray ( byte array, int offset, int length ) : string
ReadAsciiStringFromStream ( Stream data, int messageTypeLength ) : string
ReadInt ( byte buffer, int offset ) : int
ReadIntFromStream ( Stream stream ) : int
WriteInt ( byte buffer, int offset, int value ) : void

메소드 상세

ReadAsciiStringFromArray() 공개 정적인 메소드

public static ReadAsciiStringFromArray ( byte array, int offset, int length ) : string
array byte
offset int
length int
리턴 string

ReadAsciiStringFromStream() 공개 정적인 메소드

public static ReadAsciiStringFromStream ( Stream data, int messageTypeLength ) : string
data Stream
messageTypeLength int
리턴 string

ReadInt() 공개 정적인 메소드

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

ReadIntFromStream() 공개 정적인 메소드

public static ReadIntFromStream ( Stream stream ) : int
stream Stream
리턴 int

WriteInt() 공개 정적인 메소드

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