public final class PriceEncoder
extends java.lang.Object
implements org.agrona.sbe.CompositeEncoderFlyweight
| Modifier and Type | Field and Description |
|---|---|
static java.nio.ByteOrder |
BYTE_ORDER |
static int |
ENCODED_LENGTH |
static int |
SCHEMA_ID |
static int |
SCHEMA_VERSION |
| Constructor and Description |
|---|
PriceEncoder() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
appendTo(java.lang.StringBuilder builder) |
org.agrona.MutableDirectBuffer |
buffer() |
int |
encodedLength() |
byte |
exponent() |
static int |
exponentEncodingLength() |
static int |
exponentEncodingOffset() |
static byte |
exponentMaxValue() |
static byte |
exponentMinValue() |
static byte |
exponentNullValue() |
PriceEncoder |
mantissa(long value) |
static int |
mantissaEncodingLength() |
static int |
mantissaEncodingOffset() |
static long |
mantissaMaxValue() |
static long |
mantissaMinValue() |
static long |
mantissaNullValue() |
int |
offset() |
int |
sbeSchemaId() |
int |
sbeSchemaVersion() |
java.lang.String |
toString() |
PriceEncoder |
wrap(org.agrona.MutableDirectBuffer buffer,
int offset) |
public static final int SCHEMA_ID
public static final int SCHEMA_VERSION
public static final int ENCODED_LENGTH
public static final java.nio.ByteOrder BYTE_ORDER
public PriceEncoder wrap(org.agrona.MutableDirectBuffer buffer, int offset)
wrap in interface org.agrona.sbe.EncoderFlyweightpublic org.agrona.MutableDirectBuffer buffer()
buffer in interface org.agrona.sbe.EncoderFlyweightbuffer in interface org.agrona.sbe.Flyweightpublic int offset()
offset in interface org.agrona.sbe.Flyweightpublic int encodedLength()
encodedLength in interface org.agrona.sbe.Flyweightpublic int sbeSchemaId()
sbeSchemaId in interface org.agrona.sbe.Flyweightpublic int sbeSchemaVersion()
sbeSchemaVersion in interface org.agrona.sbe.Flyweightpublic static int mantissaEncodingOffset()
public static int mantissaEncodingLength()
public static long mantissaNullValue()
public static long mantissaMinValue()
public static long mantissaMaxValue()
public PriceEncoder mantissa(long value)
public static int exponentEncodingOffset()
public static int exponentEncodingLength()
public static byte exponentNullValue()
public static byte exponentMinValue()
public static byte exponentMaxValue()
public byte exponent()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.StringBuilder appendTo(java.lang.StringBuilder builder)
Copyright © 2015-2022 Real Logic Limited. All Rights Reserved.