Class BytesHandle

java.lang.Object
com.marklogic.client.impl.HandleImplementation<R,W>
com.marklogic.client.io.BaseHandle<byte[],byte[]>
com.marklogic.client.io.BytesHandle
All Implemented Interfaces:
ContentDescriptor, AbstractReadHandle, AbstractWriteHandle, BinaryReadHandle, BinaryWriteHandle, BufferableContentHandle<byte[],byte[]>, BufferableHandle, ContentHandle<byte[]>, CtsQueryWriteHandle, DocumentMetadataReadHandle, DocumentMetadataWriteHandle, DocumentPatchHandle, GenericReadHandle, GenericWriteHandle, JSONReadHandle, JSONWriteHandle, QuadsWriteHandle, QueryOptionsListReadHandle, QueryOptionsReadHandle, QueryOptionsWriteHandle, ResendableContentHandle<byte[],byte[]>, RuleListReadHandle, RuleReadHandle, RuleWriteHandle, SearchReadHandle, SPARQLResultsReadHandle, StructureReadHandle, StructureWriteHandle, TextReadHandle, TextWriteHandle, TriplesReadHandle, TriplesWriteHandle, TuplesReadHandle, ValuesListReadHandle, ValuesReadHandle, XMLReadHandle, XMLWriteHandle

A Bytes Handle represents document content as a byte array for reading or writing. When writing JSON, text, or XML content, you should use a byte[] array only if the bytes are encoded in UTF-8. If the characters have a different encoding, use a StringHandle and specify the correct character encoding for the bytes when creating the String.