public class Header extends Object
| Modifier and Type | Method and Description |
|---|---|
static Header |
create(byte[] data,
int offset) |
static Header |
create(String keyName,
boolean compessed) |
byte |
getFlags() |
String |
getKeyName() |
boolean |
isCompressed() |
static byte |
setCompressed(byte bits,
boolean compressed) |
int |
size() |
void |
store(byte[] output,
int outputOffset,
byte flags)
Saves the header bytes in the provided buffer at specified offset.
|
public static Header create(byte[] data, int offset)
public static byte setCompressed(byte bits,
boolean compressed)
public int size()
public boolean isCompressed()
public byte getFlags()
public void store(byte[] output,
int outputOffset,
byte flags)
public String getKeyName()
Copyright © 2001–2015 Apache Cayenne. All rights reserved.