ByteField constructor

ByteField(
  1. String key,
  2. FieldType type,
  3. String? name,
  4. int addr,
  5. int size,
  6. ByteLoc bytePos, {
  7. String? tag,
  8. List? selection,
})

Implementation

ByteField(String key, FieldType type, String? name, int addr,int size,this.bytePos,
    {String? tag, List? selection})
    :super(key,type,name,addr,size){
  if (1 != size) throw Exception('Data length should match with size');

}