Beispiel #1
0
 public void PackFloat(float val)
 {
     if (offset + 5 > buffer.Length)
     {
         Resize(5);
     }
     buffer[offset++] = (byte)0xca;
     offset          += ByteUtil.FloatToBytes(val, buffer, offset);
 }