public final class IntSerializer extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
writeInt16(int value,
byte[] buffer,
int offset)
Writes the 16-bit int into the buffer starting with the most significant byte.
|
static void |
writeInt16LE(int value,
byte[] buffer,
int offset)
Writes the 16-bit int into the buffer starting with the least significant byte.
|
static void |
writeInt16LE(int value,
ByteBuffer buffer) |
static void |
writeInt32(int value,
byte[] buffer,
int offset)
Writes the 32-bit int into the buffer starting with the most significant byte.
|
static void |
writeInt32LE(int value,
byte[] buffer,
int offset)
Writes the 32-bit int into the buffer starting with the least significant byte.
|
static void |
writeInt32LE(int value,
ByteBuffer buffer) |
static void |
writeInt64(long value,
byte[] buffer,
int offset)
Writes the 64-bit int into the buffer starting with the most significant byte.
|
static void |
writeInt64LE(long value,
byte[] buffer,
int offset)
Writes the 64-bit int into the buffer starting with the least significant byte.
|
static void |
writeInt64LE(long value,
ByteBuffer buffer) |
public static void writeInt16(int value,
byte[] buffer,
int offset)
public static void writeInt16LE(int value,
byte[] buffer,
int offset)
public static void writeInt16LE(int value,
ByteBuffer buffer)
public static void writeInt32(int value,
byte[] buffer,
int offset)
public static void writeInt32LE(int value,
byte[] buffer,
int offset)
public static void writeInt32LE(int value,
ByteBuffer buffer)
public static void writeInt64(long value,
byte[] buffer,
int offset)
public static void writeInt64LE(long value,
byte[] buffer,
int offset)
public static void writeInt64LE(long value,
ByteBuffer buffer)
Copyright © 2009–2016. All rights reserved.