Open harendra-kumar opened 1 year ago
{-# INLINE newBytes #-} newBytes :: Int -> IO MutableByteArray newBytes nbytes | nbytes < 0 = errorWithoutStackTrace "newBytes: size must be >= 0" newBytes (I# nbytes) = IO $ \s ->
newByteArray# should take care of this case or error out.
newByteArray# should take care of this case or error out.