Exemplo n.º 1
0
 public override async Task WriteBuffer(ByteArrayWriter Writer, int CurrentOffset)
 {
     if (byteValue.HasValue)
     {
         Writer.WriteByte(byteValue.Value);
     }
     else
     {
         await NameIndexValue.WriteBuffer(Writer, CurrentOffset);
     }
 }
Exemplo n.º 2
0
        public override int GetBuilderSize()
        {
            BuilderSize = byteValue.HasValue ? sizeof(byte) : NameIndexValue.GetBuilderSize();

            return(BuilderSize);
        }