NOISIF Platform
Toggle table of contents
80ccce4
java
Target filter
java
Switch theme
Search in API
Skip to content
NOISIF Platform
NSL Codec
/
xyz.noisif.nsl.codec.serialization
/
MessageSerializer
Message
Serializer
interface
MessageSerializer
:
Serializer
Inheritors
JsonSerializer
ProtobufSerializer
RawByteSerializer
RawTextSerializer
Members
Functions
deserialize
From
Bytes
Link copied to clipboard
abstract
fun
<
T
>
deserializeFromBytes
(
bytes
:
Array
<
Byte
>
,
type
:
Class
<
T
>
)
:
T
deserialize
From
Stream
Link copied to clipboard
open
fun
<
T
>
deserializeFromStream
(
in
:
InputStream
,
type
:
Class
<
T
>
)
:
T
get
Format
Link copied to clipboard
abstract
fun
getFormat
(
)
:
SerializerFormat
serialize
To
Bytes
Link copied to clipboard
abstract
fun
serializeToBytes
(
value
:
Any
)
:
Array
<
Byte
>
serialize
To
Stream
Link copied to clipboard
open
fun
serializeToStream
(
value
:
Any
,
out
:
OutputStream
)