API reference
API reference
Select your platform
No SDKs available
No versions available

WitChunkConverter Class

A static class used to encode and decode wit data chunks consisting of json mixed with binary data.

Member Functions

Decodes an array of chunk data
Parameters
rawData
A chunk of bytes to be split into json data and binary data
start
The chunk array start index used for decoding
length
The total number of bytes to be used within chunkData

Static Member Functions

Returns a log string for a byte[] by returning the individual bytes for each section. Determines specific settings before returning the log.
Returns a log string for a byte[] by returning the individual bytes for each section.
Returns a string of all bytes within an array
Returns a string of the individual bits within a byte array
Method for decoding raw data into a string
Encodes a chunk by using the jsonString if found, otherwise serializes the json data itself.
Encodes a binary data into a wit stream
Encodes a json token and raw binary data into a single stream
Encodes a json string and raw binary data into a single stream
Encodes a json byte[] and raw binary data into a single stream
Method for encoding a string into raw data
Did you find this page helpful?
Thumbs up icon
Thumbs down icon