164165166167168169170171172173174
if (data != null) writeByteBuffer(out, 1, data); if (index != null) writeByteBuffer(out, 2, index); if (meta != null) out.writeMessage(3, meta); } catch (IOException err) { throw new RuntimeException("Cannot buffer chunk", err); } return r; }