public class UintConverter extends Object
This class handles the conversion of unsigned big-endian integers of
1, 2
and 4
-byte length
(bytes are assumed to be 8
-bit long).
Integers of 1
,2
, 4
-byte length
are packed into a double
.
Constructor and Description |
---|
UintConverter() |
Modifier and Type | Method and Description |
---|---|
double |
pack(ReadOnlyByteArray data,
int offset,
int length)
Implemented as specified by
BytesConverter |
public double pack(ReadOnlyByteArray data, int offset, int length)
BytesConverter
data
- The byte array containing the bytes to convert.offset
- The position of the first byte making up the pixel value.length
- The number of bytes that make up the pixel value.BytesConverter.pack(ReadOnlyByteArray, int, int)
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.