Class RawFloatArrayCodec
java.lang.Object
io.datarouter.bytes.codec.array.floatarray.RawFloatArrayCodec
public class RawFloatArrayCodec extends Object
-
Field Summary
Fields Modifier and Type Field Description static RawFloatArrayCodecINSTANCE -
Constructor Summary
Constructors Constructor Description RawFloatArrayCodec() -
Method Summary
Modifier and Type Method Description float[]decode(byte[] bytes)float[]decode(byte[] bytes, int offset, int bytesLength)byte[]encode(float[] values)intencode(float[] values, byte[] bytes, int offset)intitemLength()
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
RawFloatArrayCodec
public RawFloatArrayCodec()
-
-
Method Details
-
itemLength
public int itemLength() -
encode
public byte[] encode(float[] values) -
encode
public int encode(float[] values, byte[] bytes, int offset) -
decode
public float[] decode(byte[] bytes) -
decode
public float[] decode(byte[] bytes, int offset, int bytesLength)
-