public byte[] readData(boolean nonNull) throws IOException { return readData(nonNull, DEFAULT_MAX_LEN); }
public static byte[] readData(DataInput in) throws IOException { return readData(in, DEFAULT_MAX_LEN); }
public byte[] readData() throws IOException { return readData(false, DEFAULT_MAX_LEN); }
public static byte[] readData(DataInput in) throws IOException { return readData(in, DEFAULT_MAX_LEN); }
public byte[] readData(boolean nonNull) throws IOException { return readData(nonNull, DEFAULT_MAX_LEN); }
public static byte[] readData(DataInput in) throws IOException { return readData(in, DEFAULT_MAX_LEN); }
public byte[] readData(boolean nonNull) throws IOException { return readData(nonNull, DEFAULT_MAX_LEN); }
public byte[] readData() throws IOException { return readData(false, DEFAULT_MAX_LEN); }
public byte[] readData() throws IOException { return readData(false, DEFAULT_MAX_LEN); }
public byte[] readData(boolean nonNull, int maxLen) throws IOException { byte[] bytes = readData(this, maxLen); if (bytes == null && nonNull) { throw new IOException("readData return null when expected not to"); } return bytes; }
public byte[] readData(boolean nonNull, int maxLen) throws IOException { byte[] bytes = readData(this, maxLen); if (bytes == null && nonNull) { throw new IOException("readData return null when expected not to"); } return bytes; }
public byte[] readData(boolean nonNull, int maxLen) throws IOException { byte[] bytes = readData(this, maxLen); if (bytes == null && nonNull) { throw new IOException("readData return null when expected not to"); } return bytes; }
public void deserialize(DataInputStream is) throws IOException { final long len = is.readUnsignedNumber(); new ArrayList<byte[]>((int) len); for (int i = 0; i < len; i++) { dataList.add(is.readData()); } }