//// decode methods /// <summary> /// Decodes a boolean value from the buffer and advances the buffer's position. /// </summary> /// <param name="buffer">The buffer to read.</param> /// <returns>A boolean value.</returns> public static bool?DecodeBoolean(ByteBuffer buffer) { return(BooleanEncoding.Decode(buffer, 0)); }
public override object DecodeObject(ByteBuffer buffer, FormatCode formatCode) { return(BooleanEncoding.Decode(buffer, formatCode)); }