Click or drag to resize
SerializationWriterWrite Method
Overload List
  NameDescription
Public methodWrite(Boolean) (Inherited from BinaryWriter.)
Public methodWrite(Byte) (Inherited from BinaryWriter.)
Public methodWrite(SByte) (Inherited from BinaryWriter.)
Public methodWrite(Char) (Inherited from BinaryWriter.)
Public methodWrite(Double) (Inherited from BinaryWriter.)
Public methodWrite(Decimal) (Inherited from BinaryWriter.)
Public methodWrite(Int16) (Inherited from BinaryWriter.)
Public methodWrite(UInt16) (Inherited from BinaryWriter.)
Public methodWrite(Int32) (Inherited from BinaryWriter.)
Public methodWrite(UInt32) (Inherited from BinaryWriter.)
Public methodWrite(Int64) (Inherited from BinaryWriter.)
Public methodWrite(UInt64) (Inherited from BinaryWriter.)
Public methodWrite(Single) (Inherited from BinaryWriter.)
Public methodWrite(Boolean)
Writes a Boolean[] into the stream. Notes: A null or empty array will take 1 byte. Calls WriteOptimized(Boolean[]).
Public methodWrite(Byte)
Writes a Byte[] into the stream. Notes: A null or empty array will take 1 byte.
(Overrides BinaryWriterWrite(Byte).)
Public methodWrite(Char)
Writes a Char[] into the stream. Notes: A null or empty array will take 1 byte.
(Overrides BinaryWriterWrite(Char).)
Public methodWrite(ArrayList)
Writes an ArrayList into the stream using the fewest number of bytes possible. Stored Size: 1 byte upwards depending on data content Notes: A null Arraylist takes 1 byte. An empty ArrayList takes 2 bytes. The contents are stored using WriteOptimized(ArrayList) which should be used if the ArrayList is guaranteed never to be null.
Public methodWrite(BitArray)
Writes a BitArray value into the stream using the fewest number of bytes possible. Stored Size: 1 byte upwards depending on data content Notes: A null BitArray takes 1 byte. An empty BitArray takes 2 bytes.
Public methodWriteK, V(DictionaryK, V)
Writes a non-null generic Dictionary into the stream.
Public methodWriteT(ListT)
Writes a non-null generic List into the stream.
Public methodWrite(BitVector32)
Writes a BitVector32 into the stream. Stored Size: 4 bytes.
Public methodWrite(DateTime)
Writes a DateTime value into the stream. Stored Size: 8 bytes
Public methodWrite(DateTime)
Writes a DateTime[] into the stream. Notes: A null or empty array will take 1 byte.
Public methodWrite(Decimal)
Writes a Decimal[] into the stream. Notes: A null or empty array will take 1 byte. Calls WriteOptimized(Decimal[]).
Public methodWrite(Double)
Writes a Double[] into the stream. Notes: A null or empty array will take 1 byte.
Public methodWrite(Guid)
Writes a Guid into the stream. Stored Size: 16 bytes.
Public methodWrite(Guid)
Writes a Guid[] into the stream. Notes: A null or empty array will take 1 byte.
Public methodWrite(Int16)
Writes an Int16[]or a null into the stream. Notes: A null or empty array will take 1 byte. Calls WriteOptimized(decimal[]).
Public methodWrite(Int32)
Writes an Int32[] into the stream. Notes: A null or empty array will take 1 byte.
Public methodWrite(Int64)
Writes an Int64[] into the stream. Notes: A null or empty array will take 1 byte.
Public methodWrite(Object)
Writes an object[] into the stream. Stored Size: 2 bytes upwards depending on data content Notes: A null object[] takes 1 byte. An empty object[] takes 2 bytes. The contents of the array will be stored optimized.
Public methodWrite(SByte)
Writes an SByte[] into the stream. Notes: A null or empty array will take 1 byte.
Public methodWrite(Single)
Writes a Single[] into the stream. Notes: A null or empty array will take 1 byte.
Public methodWrite(String)
Calls WriteOptimized(string). This override to hide base BinaryWriter.Write(string).
(Overrides BinaryWriterWrite(String).)
Public methodWrite(TimeSpan)
Writes a TimeSpan value into the stream. Stored Size: 8 bytes
Public methodWrite(TimeSpan)
Writes a TimeSpan[] into the stream. Notes: A null or empty array will take 1 byte.
Public methodWrite(UInt16)
Writes a UInt16[] into the stream. Notes: A null or empty array will take 1 byte.
Public methodWrite(UInt32)
Writes a UInt32[] into the stream. Notes: A null or empty array will take 1 byte.
Public methodWrite(UInt64)
Writes a UInt64[] into the stream. Notes: A null or empty array will take 1 byte.
Public methodWrite(Type, Boolean)
Stores a Type object into the stream. Stored Size: Depends on the length of the Type's name and whether the fullyQualified parameter is set. A null Type takes 1 byte.
Public methodWrite(IOwnedDataSerializable, Object)
Allows any object implementing IOwnedDataSerializable to serialize itself into this SerializationWriter. A context may also be used to give the object an indication of what data to store. As an example, using a BitVector32 gives a list of flags and the object can conditionally store data depending on those flags.
Public methodWrite(Byte, Int32, Int32) (Inherited from BinaryWriter.)
Public methodWrite(Char, Int32, Int32) (Inherited from BinaryWriter.)
Top
See Also