Пример #1
0
 public override async Task WriteBuffer(ByteArrayWriter Writer, int CurrentOffset)
 {
     if (byteValue.HasValue)
     {
         Writer.WriteByte(byteValue.Value);
     }
     else
     {
         await NameIndexValue.WriteBuffer(Writer, CurrentOffset);
     }
 }
Пример #2
0
        public override int GetBuilderSize()
        {
            BuilderSize = byteValue.HasValue ? sizeof(byte) : NameIndexValue.GetBuilderSize();

            return(BuilderSize);
        }