@Internal public class StringByteArrayConverter extends Object implements DataStructureConverter<StringData,byte[]>
Constructor and Description |
---|
StringByteArrayConverter() |
Modifier and Type | Method and Description |
---|---|
byte[] |
toExternal(StringData internal)
Converts to external data structure.
|
StringData |
toInternal(byte[] external)
Converts to internal data structure.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isIdentityConversion, open, toExternalOrNull, toInternalOrNull
public StringData toInternal(byte[] external)
DataStructureConverter
Note: Parameter must not be null. Output must not be null.
toInternal
in interface DataStructureConverter<StringData,byte[]>
public byte[] toExternal(StringData internal)
DataStructureConverter
Note: Parameter must not be null. Output must not be null.
toExternal
in interface DataStructureConverter<StringData,byte[]>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.