public static float ToSingle(byte[] value, int startIndex) { var int32FromBytes = BytesSwapper.Swap(BitConverter.ToInt32(value, startIndex)); return(new Int32SingleUnion(int32FromBytes).AsSingle); }
public override uint ReadUInt32() { return(BytesSwapper.Swap(base.ReadUInt32())); }
public override ulong ReadUInt64() { return(BytesSwapper.Swap(base.ReadUInt64())); }
public override short ReadInt16() { return(BytesSwapper.Swap(base.ReadInt16())); }