decode method Null safety

XdrHmacSha256Mac decode(
  1. XdrDataInputStream stream
)

Implementation

static XdrHmacSha256Mac decode(XdrDataInputStream stream) {
  int keySize = 32;
  return XdrHmacSha256Mac(stream.readBytes(keySize));
}