Package | Description |
---|---|
org.ballerinalang.nativeimpl.io.channels.base | |
org.ballerinalang.nativeimpl.io.events.data |
Modifier and Type | Method and Description |
---|---|
static Representation |
Representation.find(String representation)
finds a matching representation for the provided input string.
|
static Representation |
Representation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Representation[] |
Representation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
double |
DataChannel.readDouble(Representation representation)
Reads double value.
|
long |
DataChannel.readFixedLong(Representation representation)
Reads fixed size long.
|
void |
DataChannel.writeDouble(double value,
Representation representation)
Writes double value.
|
void |
DataChannel.writeFixedLong(long value,
Representation representation)
Writes fixed size long value.
|
Constructor and Description |
---|
ReadFloatEvent(DataChannel channel,
Representation representation,
EventContext context) |
ReadIntegerEvent(DataChannel channel,
Representation representation,
EventContext context) |
WriteFloatEvent(DataChannel dataChannel,
double value,
Representation representation,
EventContext context) |
WriteIntegerEvent(DataChannel dataChannel,
long value,
Representation representation,
EventContext context) |
Copyright © 2018 WSO2. All rights reserved.