protected string ReadString() { return(ReadBuffer.readString()); }
protected float ReadFloat() { return(ReadBuffer.readFloat()); }
protected double ReadDouble() { return(ReadBuffer.readDouble()); }
protected ushort ReadUshort() { return(ReadBuffer.readUshort()); }
protected long ReadLong() { return(ReadBuffer.readLong()); }
protected byte ReadByte() { return(ReadBuffer.readByte()); }
protected sbyte ReadSByte() { return(ReadBuffer.readSbyte()); }
protected byte[] ReadBytes() { return(ReadBuffer.readBytes()); }
protected byte[] ReadBytes(int len) { return(ReadBuffer.readBytes(len)); }
protected short ReadShort() { return(ReadBuffer.readShort()); }
protected uint ReadUint() { return(ReadBuffer.readUint()); }
protected bool ReadBoolean() { return(ReadBuffer.readBoolean()); }
protected int ReadInt() { return(ReadBuffer.readInt()); }
//========================= protected void ResetReadIndex() { ReadBuffer.ResetIndex(); }
protected void getData() { DebugTool.LogYellow("byts len: " + byts.Length); ReadBuffer.StartReadBuffer(byts); }
public double readDouble() { return((double)ReadBuffer.readInt() + (double)ReadBuffer.readShort() / 1000); }