[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.GcBinaryWriter

GcBinaryWriter Class

The BinaryWriter with some additional functionality.

Inheritance
GcBinaryWriter
Namespace: GrapeCity.Documents.Common
Assembly: DS.Documents.Imaging.dll
Syntax
public class GcBinaryWriter : BinaryWriter, IDisposable, IAsyncDisposable
Public Class GcBinaryWriter
    Inherits BinaryWriter
    Implements IDisposable, IAsyncDisposable

Constructors

Name Description
GcBinaryWriter(Stream, Encoding, bool)

Initializes a new instance of the GcBinaryWriter class.

Methods

Name Description
Write7BitEncodedInt(int)

Writes 32 int in compressed form.

WriteEnum<T>(T)

Writes enum value.

WriteNullableEnum<T>(T?)

Writes nullable enum value.

WriteNullableInt(int?)

Writes nullable int.

WriteNullableString(string)

Writes a length-prefixed string to this stream in the current encoding of the BinaryWriter, and advances the current position of the stream in accordance with the encoding used and the specific characters being written to the stream. -1 is used to indicate null string.