parseResponse method

  1. @override
ListOffsetsResponse parseResponse(
  1. List<int> bytes
)
override

Implementation

@override
ListOffsetsResponse parseResponse(List<int> bytes) {
  final response = ListOffsetsResponse.fromBytes(bytes);
  if (response.correlationId != correlationId) {
    throw const FormatException('Mismatched ListOffsets correlation ID');
  }
  return response;
}