@Test(expected = EOFException.class) public void readEmptyBytes() throws IOException { byte[] given = new byte[]{}; InputStream givenInputStream = new ByteArrayInputStream(given); AINT64.read(givenInputStream); }
public static List<INT64> read(InputStream is) throws IOException { Validators.notNull("is", is); long length = UINT32.read(is).longValue(); List<INT64> list = new ArrayList<>((int) length); for (int i = 0; i < length; i++) { list.add(INT64.read(is)); } return list; }
AINT64 { public static List<INT64> read(InputStream is) throws IOException { Validators.notNull("is", is); long length = UINT32.read(is).longValue(); List<INT64> list = new ArrayList<>((int) length); for (int i = 0; i < length; i++) { list.add(INT64.read(is)); } return list; } }
AINT64 { public static List<INT64> read(InputStream is) throws IOException { Validators.notNull("is", is); long length = UINT32.read(is).longValue(); List<INT64> list = new ArrayList<>((int) length); for (int i = 0; i < length; i++) { list.add(INT64.read(is)); } return list; } private  AINT64(); }
AINT64 { public static List<INT64> read(InputStream is) throws IOException { Validators.notNull("is", is); long length = UINT32.read(is).longValue(); List<INT64> list = new ArrayList<>((int) length); for (int i = 0; i < length; i++) { list.add(INT64.read(is)); } return list; } private  AINT64(); static List<INT64> read(InputStream is); }
AINT64 { public static List<INT64> read(InputStream is) throws IOException { Validators.notNull("is", is); long length = UINT32.read(is).longValue(); List<INT64> list = new ArrayList<>((int) length); for (int i = 0; i < length; i++) { list.add(INT64.read(is)); } return list; } private  AINT64(); static List<INT64> read(InputStream is);  }