FieldWriter Class Members
In This Topic
The following tables list the members exposed by FieldWriter.
Public Constructors
Public Properties
| Name | Description |
| Length | Returns the length of the stream. |
| Position | Returns the current position within the stream. |
| Strings | Returns the cache of unique string values that have been written |
Top
Public Methods
| Name | Description |
| Commit | Ensure that all pending state changes are committed. |
| Rollback | Rollback any pending state changes that have not been committed |
| ToArray | This is a helper method for unit testing. It only works for the case the underlying stream is a MemoryStream. |
| Write | Overloaded. Write an object to the stream as its serializable type |
| WriteLength | Efficiently encodes a packet length as a variable length byte array using 7-bit encoding |
| WriteTimestamp | Overloaded. Stores a DateTime value to the stream |
Top
See Also