示例#1
0
        public void WriteBytes(byte[] v)
        {
            int len = GFWEncoding.SwapInt32(v.Length);

            this.writer.Write(len);
            this.writer.Write(v);
        }
示例#2
0
 public void WriteInt(int v)
 {
     v = GFWEncoding.SwapInt32(v);
     writer.Write(v);
 }
示例#3
0
 public int ReadInt()
 {
     return(GFWEncoding.SwapInt32(this.reader.ReadInt32()));
 }