public class BinaryWriter extends SimpleVariableWidthWriter<Binary>
ValueWriter.Factory<V>, ValueWriter.Registry
Constructor and Description |
---|
BinaryWriter() |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
getByteArray(Binary value) |
protected byte |
getFourOctetEncodingCode() |
protected int |
getLength() |
protected int |
getOffset() |
protected byte |
getSingleOctetEncodingCode() |
static void |
register(ValueWriter.Registry registry) |
clearValue, hasValue, isCacheable, setValue, writeBytes
isComplete, writeToBuffer
protected byte getFourOctetEncodingCode()
getFourOctetEncodingCode
in class VariableWidthWriter<Binary>
protected byte getSingleOctetEncodingCode()
getSingleOctetEncodingCode
in class VariableWidthWriter<Binary>
protected byte[] getByteArray(Binary value)
getByteArray
in class SimpleVariableWidthWriter<Binary>
protected int getOffset()
getOffset
in class SimpleVariableWidthWriter<Binary>
protected int getLength()
getLength
in class SimpleVariableWidthWriter<Binary>
public static void register(ValueWriter.Registry registry)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.