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