Package com.slytechs.utils.crypto

Examples of com.slytechs.utils.crypto.Crc16


    p += 8;
   
    elements.add(new AbstractField<Crc16>(bits, StaticField.CRC, p, false) {

      public Crc16 getValue() throws IOException {
        Crc16 crc = readCrc16();
       
        computeCrc16(crc);
       
        return crc;
      }});
View Full Code Here


  protected short readShort(DataField field) {
    return  (short) bits.getBits(offset + field.getOffset(), field.getLength());
  }
 
  protected Crc16 readCrc16() {
    return  new Crc16(bits.getBits(offset, 16));
  }
View Full Code Here

  protected Crc16 readCrc16() {
    return  new Crc16(bits.getBits(offset, 16));
  }
 
  protected Crc16 readCrc16(DataField field) {
    return  new Crc16(bits.getBits(offset + field.getOffset(), field.getLength()));
  }
View Full Code Here

TOP

Related Classes of com.slytechs.utils.crypto.Crc16

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.