Package ucar.nc2.stream
Class NcStreamDataCol
- java.lang.Object
-
- ucar.nc2.stream.NcStreamDataCol
-
public class NcStreamDataCol extends Object
DataCol message encoding.- Since:
- 10/30/2015.
-
-
Constructor Summary
Constructors Constructor Description NcStreamDataCol()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
copyArrayToBB(Array data, boolean isVlen, ByteBuffer out)
static com.google.protobuf.ByteString
copyArrayToByteString(Array data)
Array
decode(NcStreamProto.DataCol dproto, Section parentSection)
Array
decodeVlenData(NcStreamProto.DataCol dproto)
NcStreamProto.DataCol
encodeData2(String name, boolean isVlen, Section section, Array data)
-
-
-
Method Detail
-
encodeData2
public NcStreamProto.DataCol encodeData2(String name, boolean isVlen, Section section, Array data)
-
copyArrayToByteString
public static com.google.protobuf.ByteString copyArrayToByteString(Array data)
-
copyArrayToBB
public static void copyArrayToBB(Array data, boolean isVlen, ByteBuffer out)
-
decode
public Array decode(NcStreamProto.DataCol dproto, Section parentSection) throws IOException
- Throws:
IOException
-
decodeVlenData
public Array decodeVlenData(NcStreamProto.DataCol dproto)
-
-