Example #1
0
        public static ByteBufferBuilder AppendShort(this ByteBufferBuilder builder, short value)
        {
            builder.Append(BinarySerializationHelper.SerializeShort(value).ToArray());

            return(builder);
        }
Example #2
0
        public static ByteBufferBuilder AppendDatetime(this ByteBufferBuilder builder, DateTime value)
        {
            builder.Append(BinarySerializationHelper.SerializeDateTime(value).ToArray());

            return(builder);
        }
Example #3
0
        public static ByteBufferBuilder AppendLong(this ByteBufferBuilder builder, long value)
        {
            builder.Append(BinarySerializationHelper.SerializeLong(value).ToArray());

            return(builder);
        }
Example #4
0
        public static ByteBufferBuilder AppendString(this ByteBufferBuilder builder, string value)
        {
            builder.Append(BinarySerializationHelper.SerializeString(value));

            return(builder);
        }