Click or drag to resize
Json.NET

JsonTextReaderReadAsBytes Method

 
Reads the next JSON token from the underlying TextReader as a Byte[].

Namespace:  Newtonsoft.Json
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public override byte[] ReadAsBytes()

Return Value

Type: Byte
A Byte[] or null if the next JSON token is null. This method will return null at the end of an array.
See Also