getSegment method

int getSegment(
  1. IStatus status,
  2. int bufferLength,
  3. Pointer<Uint8> buffer,
  4. Pointer<UnsignedInt> segmentLength,
)

Implementation

int getSegment(IStatus status, int bufferLength, Pointer<Uint8> buffer,
    Pointer<UnsignedInt> segmentLength) {
  final res =
      _getSegment(self, status.self, bufferLength, buffer, segmentLength);
  status.checkStatus();
  return res;
}