humble-video-noarch/src/main/java/io/humble/ferry/Buffer.java
public static Buffer make(RefCounted requestor, int bufferSize) {
    long cPtr = FerryJNI.Buffer_make__SWIG_0(RefCounted.getCPtr(requestor), requestor, bufferSize);
    return (cPtr == 0) ? null : new Buffer(cPtr, false);
  }
public static Buffer make(RefCounted requestor, int bufferSize) {
    long cPtr = FerryJNI.Buffer_make__SWIG_0(RefCounted.getCPtr(requestor), requestor, bufferSize);
    return (cPtr == 0) ? null : new Buffer(cPtr, false);
  }
Allocate a new buffer of at least bufferSize.<br>
<br>
@param requestor An optional value telling the Buffer class what object requested it.  This is used for debugging memory leaks; it's a marker for the FERRY object (e.g. IPacket) that actually requested the buffer.  If you're not an FERRY object, pass in null here.<br>
@param bufferSize The minimum buffer size you're requesting in bytes; a buffer with a larger size may be returned.<br>
<br>
@return A new buffer, or null on error.