Constructor and Description |
---|
StringEncoder() |
Modifier and Type | Method and Description |
---|---|
boolean |
decodeBoolean(org.apache.fluo.api.data.Bytes b)
Decodes a boolean from
Bytes |
double |
decodeDouble(org.apache.fluo.api.data.Bytes b)
Decodes a double from
Bytes |
float |
decodeFloat(org.apache.fluo.api.data.Bytes b)
Decodes a float from
Bytes |
int |
decodeInteger(org.apache.fluo.api.data.Bytes b)
Decodes an integer from
Bytes |
long |
decodeLong(org.apache.fluo.api.data.Bytes b)
Decodes a long from
Bytes |
String |
decodeString(org.apache.fluo.api.data.Bytes b)
Decodes a String from
Bytes |
org.apache.fluo.api.data.Bytes |
encode(boolean b)
Encodes a boolean to
Bytes |
org.apache.fluo.api.data.Bytes |
encode(double d)
Encodes a double to
Bytes |
org.apache.fluo.api.data.Bytes |
encode(float f)
Encodes a float to
Bytes |
org.apache.fluo.api.data.Bytes |
encode(int i)
Encodes an integer to
Bytes |
org.apache.fluo.api.data.Bytes |
encode(long l)
Encodes a long to
Bytes |
org.apache.fluo.api.data.Bytes |
encode(String s)
Encodes a String to
Bytes |
public org.apache.fluo.api.data.Bytes encode(int i)
Encoder
Bytes
public org.apache.fluo.api.data.Bytes encode(long l)
Encoder
Bytes
public org.apache.fluo.api.data.Bytes encode(String s)
Encoder
Bytes
public org.apache.fluo.api.data.Bytes encode(float f)
Encoder
Bytes
public org.apache.fluo.api.data.Bytes encode(double d)
Encoder
Bytes
public org.apache.fluo.api.data.Bytes encode(boolean b)
Encoder
Bytes
public int decodeInteger(org.apache.fluo.api.data.Bytes b)
Encoder
Bytes
decodeInteger
in interface Encoder
public long decodeLong(org.apache.fluo.api.data.Bytes b)
Encoder
Bytes
decodeLong
in interface Encoder
public String decodeString(org.apache.fluo.api.data.Bytes b)
Encoder
Bytes
decodeString
in interface Encoder
public float decodeFloat(org.apache.fluo.api.data.Bytes b)
Encoder
Bytes
decodeFloat
in interface Encoder
public double decodeDouble(org.apache.fluo.api.data.Bytes b)
Encoder
Bytes
decodeDouble
in interface Encoder
public boolean decodeBoolean(org.apache.fluo.api.data.Bytes b)
Encoder
Bytes
decodeBoolean
in interface Encoder
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.