public static CFReadStream create(CFURL fileURL) { return create(null, fileURL); }
public static CFReadStream create(byte[] bytes) { if (bytes == null) { throw new NullPointerException("bytes"); } return create(null, VM.getArrayValuesAddress(bytes), bytes.length, null); } public static CFReadStream create(ByteBuffer bytes) {
public static CFReadStream create(ByteBuffer bytes) { if (bytes == null) { throw new NullPointerException("bytes"); } long handle = CFData.getEffectiveAddress(bytes) + bytes.position(); return create(null, handle, bytes.remaining(), null); } public static CFReadStream create(CFURL fileURL) {
public static CFReadStream create(CFURL fileURL) { return create(null, fileURL); }
public static CFReadStream create(CFURL fileURL) { return create(null, fileURL); }
public static CFReadStream create(ByteBuffer bytes) { if (bytes == null) { throw new NullPointerException("bytes"); } long handle = CFData.getEffectiveAddress(bytes) + bytes.position(); return create(null, handle, bytes.remaining(), null); } public static CFReadStream create(CFURL fileURL) {
public static CFReadStream create(byte[] bytes) { if (bytes == null) { throw new NullPointerException("bytes"); } return create(null, VM.getArrayValuesAddress(bytes), bytes.length, null); } public static CFReadStream create(ByteBuffer bytes) {
public static CFReadStream create(byte[] bytes) { if (bytes == null) { throw new NullPointerException("bytes"); } return create(null, VM.getArrayValuesAddress(bytes), bytes.length, null); } public static CFReadStream create(ByteBuffer bytes) {
public static CFReadStream create(ByteBuffer bytes) { if (bytes == null) { throw new NullPointerException("bytes"); } long handle = CFData.getEffectiveAddress(bytes) + bytes.position(); return create(null, handle, bytes.remaining(), null); } public static CFReadStream create(CFURL fileURL) {