public void WriteBytes(byte[] v) { int len = GFWEncoding.SwapInt32(v.Length); this.writer.Write(len); this.writer.Write(v); }
public void WriteInt(int v) { v = GFWEncoding.SwapInt32(v); writer.Write(v); }
public int ReadInt() { return(GFWEncoding.SwapInt32(this.reader.ReadInt32())); }