Ejemplo n.º 1
0
 public DataRepresentationFormat(byte[] buffer, int offset)
 {
     CharacterFormat             = (CharacterFormat)(buffer[offset + 0] & 0x0F);
     ByteOrder                   = (ByteOrder)(buffer[offset + 0] >> 4);
     FloatingPointRepresentation = (FloatingPointRepresentation)(buffer[offset + 1]);
 }
Ejemplo n.º 2
0
 public DataRepresentationFormat(CharacterFormat characterFormat, ByteOrder byteOrder, FloatingPointRepresentation floatingPointRepresentation)
 {
     CharacterFormat             = characterFormat;
     ByteOrder                   = byteOrder;
     FloatingPointRepresentation = floatingPointRepresentation;
 }