public class ChrBytesFactory extends java.lang.Object implements AbcFactory<net.openhft.chronicle.bytes.BytesIn,net.openhft.chronicle.bytes.BytesOut>
| 限定符和类型 | 字段和说明 |
|---|---|
static ChrBytesFactory |
instance |
| 构造器和说明 |
|---|
ChrBytesFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
net.openhft.chronicle.bytes.BytesIn |
createInput(byte[] bytes)
创建输入器
|
net.openhft.chronicle.bytes.BytesOut |
createOutput()
创建输出器
|
byte[] |
extractBytes(net.openhft.chronicle.bytes.BytesOut out)
提取 bytes[]
|
static AbcFactory<net.openhft.chronicle.bytes.BytesIn,net.openhft.chronicle.bytes.BytesOut> |
getInstance() |
public static final ChrBytesFactory instance
public static AbcFactory<net.openhft.chronicle.bytes.BytesIn,net.openhft.chronicle.bytes.BytesOut> getInstance()
public net.openhft.chronicle.bytes.BytesIn createInput(byte[] bytes)
AbcFactorycreateInput 在接口中 AbcFactory<net.openhft.chronicle.bytes.BytesIn,net.openhft.chronicle.bytes.BytesOut>public net.openhft.chronicle.bytes.BytesOut createOutput()
AbcFactorycreateOutput 在接口中 AbcFactory<net.openhft.chronicle.bytes.BytesIn,net.openhft.chronicle.bytes.BytesOut>public byte[] extractBytes(net.openhft.chronicle.bytes.BytesOut out)
AbcFactoryextractBytes 在接口中 AbcFactory<net.openhft.chronicle.bytes.BytesIn,net.openhft.chronicle.bytes.BytesOut>