public ClientVerifyMessage(byte[] buf, ref int i) : base(KType) { int byteCount = Bit.ReadInt32(buf, ref i); verificationCode = new byte[byteCount]; for (int j = 0; j < byteCount; ++j) { verificationCode[j] = Bit.ReadUInt8(buf, ref i); } }
public ServerVerifyResultMessage(byte[] buf, ref int i) : base(KType) { byte val = Bit.ReadUInt8(buf, ref i); result = val != 0; }
public byte ReadByte() { return(Bit.ReadUInt8(bytes, ref i)); }
public bool ReadBoolean() { byte val = Bit.ReadUInt8(bytes, ref i); return(val != 0); }