isPositive static method

bool isPositive(
  1. ByteConverter size
)

Validates that size is positive (> 0).

Implementation

static bool isPositive(ByteConverter size) {
  return size.bytes > 0;
}