Json.NET - Quick Starts & API Documentation
ReadAsBytes Method
Namespaces ► Newtonsoft.Json.Bson ► BsonReader ► ReadAsBytes()()()()
Reads the next JSON token from the stream as a array<Byte>[]()[][].
Declaration Syntax
C# | Visual Basic | Visual C++ |
public override byte[] ReadAsBytes()
Public Overrides Function ReadAsBytes As Byte()
public: virtual array<unsigned char>^ ReadAsBytes() override
Return Value
A array<Byte>[]()[][] or a null reference if the next JSON token is null. This method will return null at the end of an array.