Exemplo n.º 1
0
 protected string ReadString()
 {
     return(ReadBuffer.readString());
 }
Exemplo n.º 2
0
 protected float ReadFloat()
 {
     return(ReadBuffer.readFloat());
 }
Exemplo n.º 3
0
 protected double ReadDouble()
 {
     return(ReadBuffer.readDouble());
 }
Exemplo n.º 4
0
 protected ushort ReadUshort()
 {
     return(ReadBuffer.readUshort());
 }
Exemplo n.º 5
0
 protected long ReadLong()
 {
     return(ReadBuffer.readLong());
 }
Exemplo n.º 6
0
 protected byte ReadByte()
 {
     return(ReadBuffer.readByte());
 }
Exemplo n.º 7
0
 protected sbyte ReadSByte()
 {
     return(ReadBuffer.readSbyte());
 }
Exemplo n.º 8
0
 protected byte[] ReadBytes()
 {
     return(ReadBuffer.readBytes());
 }
Exemplo n.º 9
0
 protected byte[] ReadBytes(int len)
 {
     return(ReadBuffer.readBytes(len));
 }
Exemplo n.º 10
0
 protected short ReadShort()
 {
     return(ReadBuffer.readShort());
 }
Exemplo n.º 11
0
 protected uint ReadUint()
 {
     return(ReadBuffer.readUint());
 }
Exemplo n.º 12
0
 protected bool ReadBoolean()
 {
     return(ReadBuffer.readBoolean());
 }
Exemplo n.º 13
0
 protected int ReadInt()
 {
     return(ReadBuffer.readInt());
 }
Exemplo n.º 14
0
 //=========================
 protected void ResetReadIndex()
 {
     ReadBuffer.ResetIndex();
 }
Exemplo n.º 15
0
        protected void getData()
        {
            DebugTool.LogYellow("byts len: " + byts.Length);

            ReadBuffer.StartReadBuffer(byts);
        }
 public double readDouble()
 {
     return((double)ReadBuffer.readInt() + (double)ReadBuffer.readShort() / 1000);
 }