public abstract class AbstractDecoder extends Object implements IDecoder
| Modifier and Type | Field and Description |
|---|---|
protected EncoderContext |
ctx |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDecoder(EncoderContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertArrayLength(int len)
Assert array length is within restrictions.
|
protected void |
assertByteStringLength(int len)
Assert bytestring length is within restrictions.
|
protected void |
assertStringLength(int len)
Assert string length is within restrictions.
|
protected <T> T[] |
emptyArrayForClass(Class<T> compositeClass)
Returns an empty array of the given composite class (caches results of first create per class,
empty arrays are immutable in Java).
|
EncoderContext |
getEncoderContext()
Returns
EncoderContext of this decoder. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getBoolean, getBooleanArray, getByte, getByteArray, getByteString, getByteStringArray, getDataValue, getDataValueArray, getDateTime, getDateTimeArray, getDiagnosticInfo, getDiagnosticInfoArray, getDouble, getDoubleArray, getExpandedNodeId, getExpandedNodeIdArray, getExtensionObject, getExtensionObjectArray, getFloat, getFloatArray, getGuid, getGuidArray, getInt16, getInt16Array, getInt32, getInt32Array_, getInt32Array, getInt64, getInt64Array, getLocalizedText, getLocalizedTextArray, getNodeId, getNodeIdArray, getQualifiedName, getQualifiedNameArray, getSByte, getSByteArray, getStatusCode, getStatusCodeArray, getString, getStringArray, getUInt16, getUInt16Array, getUInt32, getUInt32Array, getUInt64, getUInt64Array, getVariant, getVariantArray, getXmlElement, getXmlElementArrayprotected final EncoderContext ctx
protected AbstractDecoder(EncoderContext ctx)
public EncoderContext getEncoderContext()
IDecoderEncoderContext of this decoder.getEncoderContext in interface IDecoderprotected void assertArrayLength(int len)
throws DecodingException
DecodingExceptionprotected void assertByteStringLength(int len)
throws DecodingException
DecodingExceptionprotected void assertStringLength(int len)
throws DecodingException
DecodingExceptionprotected <T> T[] emptyArrayForClass(Class<T> compositeClass)
Copyright © 2026. All rights reserved.