Click or drag to resize

BitStream Constructor (Int32, Single)

[This is preliminary documentation and is subject to change.]

A stream that supports writing data smaller than a single byte. This stream also has a built-in compression algorithm that can (optionally) be used to write compressed data.

Namespace:  MLAPI.Serialization
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public BitStream(
	int capacity,
	float growthFactor
)
Request Example View Source

Parameters

capacity
Type: SystemInt32
Initial capacity of buffer in bytes.
growthFactor
Type: SystemSingle
Factor by which buffer should grow when necessary.
See Also