private DataResult readData2(InputStream is) throws IOException { int psize = NcStream.readVInt(is); if (debug) System.out.println(" readData data message len= " + psize); byte[] dp = new byte[psize]; NcStream.readFully(is, dp); NcStreamProto.DataCol dproto = NcStreamProto.DataCol.parseFrom(dp); // NcStreamProto.Data2 dproto = NcStreamProto.Data2.parseDelimitedFrom(is); NcStreamDataCol decoder = new NcStreamDataCol(); Array data = decoder.decode(dproto, null); return new DataResult(dproto.getName(), data); }