Struct JsonParser.JsonValue.JsonByteEnumerator
Enumerates the bytes of a JsonParser.JsonValue from the underlying stream.
Inherited Members
Namespace: TriLibCore.Utils
Assembly: TriLibCore.dll
Syntax
public struct JsonParser.JsonValue.JsonByteEnumerator : IEnumerator<byte>, IEnumerator, IDisposable
Constructors
JsonByteEnumerator(JsonValue)
Initializes a new instance of the JsonParser.JsonValue.JsonByteEnumerator struct for the given jsonValue.
Declaration
public JsonByteEnumerator(JsonParser.JsonValue jsonValue)
Parameters
| Type | Name | Description |
|---|---|---|
| JsonParser.JsonValue | jsonValue | The JsonParser.JsonValue to enumerate over. |
Properties
Current
Gets the byte at the current position in the enumerator.
Declaration
public byte Current { get; }
Property Value
| Type | Description |
|---|---|
| byte |
Methods
Dispose()
Declaration
public void Dispose()
MoveNext()
Declaration
public bool MoveNext()
Returns
| Type | Description |
|---|---|
| bool |
Reset()
Declaration
public void Reset()