Package dev.vortex.io

Interface PooledReadable.ScratchBytes

Enclosing class:
PooledReadable

public static interface PooledReadable.ScratchBytes
A staging array, reused across the reads served by one stream.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    bytes(int length)
    Returns an array of at least length bytes, whose contents are undefined.
  • Method Details

    • bytes

      byte[] bytes(int length)
      Returns an array of at least length bytes, whose contents are undefined.