API Referenceglobal
public sealed struct Sandbox.BlobData.Writer
Context for writing binary blob data. Wraps ByteStream for allocation-free serialization.
Related Guides
Broader workflow and conceptual references connected to this API.
Binary Serialization
In the event that you find your JSON files growing too much due to too much data. You can store data as a binary blob. This will work with anything that serializes to JSON.
Custom Snapshot Data
In some circumstances you may want to add additional data to the network snapshot that gets sent to clients when they join a server. One example of this might be serializing and deserializing voxel world data.
Video
Decodes a video file or URL and exposes the current frame as a Texture.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.BlobData.Writer |