|
Enhanced C#
Loyc library documentation
|
Helper type for reading StringBuilder. This is actually used to help read strings in case they don't have a length prefix. More...
Helper type for reading StringBuilder. This is actually used to help read strings in case they don't have a length prefix.
Public fields | |
| StringBuilder | _sb |
| string | List => _sb!.ToString() |
| string | Empty => string.Empty |
Public Member Functions | |
| object | Alloc (int minLength) |
| A method that is always called once when loading a list. More... | |
| string | CastList (object value) |
| When the list being loaded was already read from the data stream earlier, this property is called to convert that existing object to the target list type, skipping the usual calls to Alloc(), Add(T) and List. More... | |
| void | Add (char item) |
Additional Inherited Members | |
Properties inherited from Loyc.SyncLib.Impl.IListBuilder< out TList, T > | |
| TList | List [get] |
| Called once when done loading to retrieve the list. More... | |
| TList | Empty [get] |
| Returns an empty list, bypassing the normal building process More... | |
|
inline |
A method that is always called once when loading a list.
| minLength | Minimum list size (ISyncManager.MinimumListLength) |
Implements Loyc.SyncLib.Impl.IListBuilder< out TList, T >.
|
inline |
When the list being loaded was already read from the data stream earlier, this property is called to convert that existing object to the target list type, skipping the usual calls to Alloc(), Add(T) and List.
Implements Loyc.SyncLib.Impl.IListBuilder< out TList, T >.
References Loyc.SyncLib.List.
1.8.7