public void Float(float data) { if (BitConverter.IsLittleEndian) { FloatUnsafe(data); } else { sink.Write(BitConverter.GetBytes(data), 0, 4); } }
public void Byte(byte[] data, int length) { sink.Write(data, 0, length); }