public class ChrBytesFactory extends Object implements AbcFactory<net.openhft.chronicle.bytes.BytesIn,net.openhft.chronicle.bytes.BytesOut>
| Modifier and Type | Field and Description |
|---|---|
static ChrBytesFactory |
instance |
| Constructor and Description |
|---|
ChrBytesFactory() |
| Modifier and Type | Method and Description |
|---|---|
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 in interface AbcFactory<net.openhft.chronicle.bytes.BytesIn,net.openhft.chronicle.bytes.BytesOut>public net.openhft.chronicle.bytes.BytesOut createOutput()
AbcFactorycreateOutput in interface AbcFactory<net.openhft.chronicle.bytes.BytesIn,net.openhft.chronicle.bytes.BytesOut>public byte[] extractBytes(net.openhft.chronicle.bytes.BytesOut out)
AbcFactoryextractBytes in interface AbcFactory<net.openhft.chronicle.bytes.BytesIn,net.openhft.chronicle.bytes.BytesOut>Copyright © 2025. All rights reserved.