public override void OnWrite(ByteObjectWriter writer, object value, Type defaultItemType) { writer.Char((char)value); }