public override ITagContext FromByteArray(byte[] bytes)
 {
     return(state.Internal == TaggingState.DISABLED
         ? TagContext.EMPTY
         : SerializationUtils.DeserializeBinary(bytes));
 }
 public override byte[] ToByteArray(ITagContext tags)
 {
     return(state.Internal == TaggingState.DISABLED
         ? EMPTY_BYTE_ARRAY
         : SerializationUtils.SerializeBinary(tags));
 }