public void WriteNum(double v) { ReAlloc(ref data_, pos_, 8); BytesHelper.MoveToBytes(data_, pos_, v); pos_ += 8; }
public void WriteInt64(Int64 v) { BytesHelper.MoveToBytes(data_, pos_, v); pos_ += 8; }
public void WriteShort(short v) { ReAlloc(ref data_, pos_, 2); BytesHelper.MoveToBytes(data_, pos_, v); pos_ += 2; }
public void WriteFloat(float v) { ReAlloc(ref data_, pos_, 4); BytesHelper.MoveToBytes(data_, pos_, v); pos_ += 4; }
public void WriteUInt(uint v) { ReAlloc(ref data_, pos_, 4); BytesHelper.MoveToBytes(data_, pos_, v); pos_ += 4; }
public void WriteSByte(sbyte v) { ReAlloc(ref data_, pos_, 1); BytesHelper.MoveToBytes(data_, pos_, v); pos_++; }
public void WriteFloat(float v) { ReAlloc(ref this.data, this.pos, sizeof(float)); BytesHelper.MoveToBytes(this.data, this.pos, v); this.pos += sizeof(float); }
public void WriteDouble(double v) { ReAlloc(ref this.data, this.pos, sizeof(double)); BytesHelper.MoveToBytes(this.data, this.pos, v); this.pos += sizeof(double); }
public void WriteLongInt(long v) { BytesHelper.MoveToBytes(this.data, this.pos, v); this.pos += sizeof(long); }
public void WriteUnsignedInt(uint v, int pos) { BytesHelper.MoveToBytes(this.data, pos, v); this.pos += sizeof(uint); }
public void WriteUnsignedInt(uint v) { ReAlloc(ref this.data, this.pos, sizeof(uint)); BytesHelper.MoveToBytes(this.data, this.pos, v); this.pos += sizeof(uint); }
public void WriteUnsignedShortInt(ushort v) { ReAlloc(ref this.data, this.pos, 2); BytesHelper.MoveToBytes(this.data, this.pos, v); this.pos += 2; }
public void WriteSByte(sbyte v) { ReAlloc(ref this.data, this.pos, 1); BytesHelper.MoveToBytes(this.data, this.pos, v); this.pos++; }