public class IrDecoder extends Object implements AutoCloseable
Ir
representing an SBE schema which can be read from a buffer or file.Constructor and Description |
---|
IrDecoder(ByteBuffer buffer)
Construct a
Ir decoder for data encoded in a ByteBuffer . |
IrDecoder(String fileName)
Construct a
Ir decoder by opening a file for a given name. |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Ir |
decode()
Decode the serialised
Ir and return the decoded instance. |
public IrDecoder(String fileName)
Ir
decoder by opening a file for a given name.fileName
- containing the encoded Ir
.public IrDecoder(ByteBuffer buffer)
Ir
decoder for data encoded in a ByteBuffer
.buffer
- containing the serialised Ir
.public void close()
close
in interface AutoCloseable
Copyright © 2013-2022 Real Logic Limited. All Rights Reserved.