C# 클래스 OctoTorrent.Client.Messages.Message

상속: IMessage
파일 보기 프로젝트 열기: Eskat0n/OctoTorrent 1 사용 예제들

공개 메소드들

메소드 설명
Decode ( byte buffer, int offset, int length ) : void
Encode ( ) : byte[]
Encode ( byte buffer, int offset ) : int
ReadByte ( byte buffer, int offset ) : byte
ReadBytes ( byte buffer, int offset, int count ) : byte[]
ReadInt ( byte buffer, int offset ) : int
ReadLong ( byte buffer, int offset ) : long
ReadShort ( byte buffer, int offset ) : short
ReadString ( byte buffer, int offset, int count ) : string
Write ( byte buffer, int offset, byte value ) : int
Write ( byte dest, int destOffset, byte src, int srcOffset, int count ) : int
Write ( byte buffer, int offset, int value ) : int
Write ( byte buffer, int offset, long value ) : int
Write ( byte buffer, int offset, short value ) : int
Write ( byte buffer, int offset, uint value ) : int
Write ( byte buffer, int offset, ulong value ) : int
Write ( byte buffer, int offset, ushort value ) : int
WriteAscii ( byte buffer, int offset, string text ) : int

보호된 메소드들

메소드 설명
CheckWritten ( int written ) : int

메소드 상세

CheckWritten() 보호된 메소드

protected CheckWritten ( int written ) : int
written int
리턴 int

Decode() 공개 추상적인 메소드

public abstract Decode ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
리턴 void

Encode() 공개 메소드

public Encode ( ) : byte[]
리턴 byte[]

Encode() 공개 추상적인 메소드

public abstract Encode ( byte buffer, int offset ) : int
buffer byte
offset int
리턴 int

ReadByte() 공개 정적인 메소드

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

ReadBytes() 공개 정적인 메소드

public static ReadBytes ( byte buffer, int offset, int count ) : byte[]
buffer byte
offset int
count int
리턴 byte[]

ReadInt() 공개 정적인 메소드

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

ReadLong() 공개 정적인 메소드

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

ReadShort() 공개 정적인 메소드

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

ReadString() 공개 정적인 메소드

public static ReadString ( byte buffer, int offset, int count ) : string
buffer byte
offset int
count int
리턴 string

Write() 공개 정적인 메소드

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

Write() 공개 정적인 메소드

public static Write ( byte dest, int destOffset, byte src, int srcOffset, int count ) : int
dest byte
destOffset int
src byte
srcOffset int
count int
리턴 int

Write() 공개 정적인 메소드

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

Write() 공개 정적인 메소드

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

Write() 공개 정적인 메소드

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

Write() 공개 정적인 메소드

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

Write() 공개 정적인 메소드

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

Write() 공개 정적인 메소드

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

WriteAscii() 공개 정적인 메소드

public static WriteAscii ( byte buffer, int offset, string text ) : int
buffer byte
offset int
text string
리턴 int