/** * Copies {@code src.length} bytes from {@code src} to the memory pointed to by * this {@link BytePtr}. * * @param src the source. */ public void set(byte[] src) { set(src, 0, src.length); }
/** * Creates a new {@link BytePtr} and initializes it with the specified value. * * @param value the value. */ public BytePtr(byte value) { set(value); }
public CAFPacketTableHeader setPacketDescriptions(byte[] packetDescriptions) { BytePtr ptr = new BytePtr(); ptr.set(packetDescriptions); setPacketDescriptions0(ptr); return this; } /*<members>*/
/** * @since Available in iOS 2.0 and later. */ public static CGBitmapContext create(byte[] data, long width, long height, long bitsPerComponent, long bytesPerRow, CGColorSpace space, CGBitmapInfo bitmapInfo) { BytePtr ptr = new BytePtr(); ptr.set(data); return create(ptr.as(IntPtr.class), width, height, bitsPerComponent, bytesPerRow, space, bitmapInfo); } /**
/** * @since Available in iOS 4.0 and later. */ public static CGBitmapContext create(byte[] data, long width, long height, long bitsPerComponent, long bytesPerRow, CGColorSpace space, CGBitmapInfo bitmapInfo, ReleaseDataCallback releaseCallback) { BytePtr ptr = new BytePtr(); ptr.set(data); return create(ptr.as(IntPtr.class), width, height, bitsPerComponent, bytesPerRow, space, bitmapInfo, releaseCallback); } /**
/** * @since Available in iOS 2.0 and later. */ public static CGBitmapContext create(byte[] data, long width, long height, long bitsPerComponent, long bytesPerRow, CGColorSpace space, CGImageAlphaInfo alphaInfo) { BytePtr ptr = new BytePtr(); ptr.set(data); return create(ptr.as(IntPtr.class), width, height, bitsPerComponent, bytesPerRow, space, new CGBitmapInfo(alphaInfo.value())); } /**
/** * Creates a new {@link BytePtr} and initializes it with the specified value. * * @param value the value. */ public BytePtr(byte value) { set(value); }
/** * Creates a new {@link BytePtr} and initializes it with the specified value. * * @param value the value. */ public BytePtr(byte value) { set(value); }
/** * Creates a new {@link BytePtr} and initializes it with the specified value. * * @param value the value. */ public BytePtr(byte value) { set(value); }
/** * Creates a new {@link BytePtr} and initializes it with the specified value. * * @param value the value. */ public BytePtr(byte value) { set(value); }
/** * Copies {@code src.length} bytes from {@code src} to the memory pointed to by * this {@link BytePtr}. * * @param src the source. */ public void set(byte[] src) { set(src, 0, src.length); }
/** * Copies {@code src.length} bytes from {@code src} to the memory pointed to by * this {@link BytePtr}. * * @param src the source. */ public void set(byte[] src) { set(src, 0, src.length); }
/** * Copies {@code src.length} bytes from {@code src} to the memory pointed to by * this {@link BytePtr}. * * @param src the source. */ public void set(byte[] src) { set(src, 0, src.length); }
/** * Copies {@code src.length} bytes from {@code src} to the memory pointed to by * this {@link BytePtr}. * * @param src the source. */ public void set(byte[] src) { set(src, 0, src.length); }
/** * @since Available in iOS 2.0 and later. */ public static CGBitmapContext create(byte[] data, long width, long height, long bitsPerComponent, long bytesPerRow, CGColorSpace space, CGBitmapInfo bitmapInfo) { BytePtr ptr = new BytePtr(); ptr.set(data); return create(ptr.as(IntPtr.class), width, height, bitsPerComponent, bytesPerRow, space, bitmapInfo); } /**
/** * @since Available in iOS 4.0 and later. */ public static CGBitmapContext create(byte[] data, long width, long height, long bitsPerComponent, long bytesPerRow, CGColorSpace space, CGBitmapInfo bitmapInfo, ReleaseDataCallback releaseCallback) { BytePtr ptr = new BytePtr(); ptr.set(data); return create(ptr.as(IntPtr.class), width, height, bitsPerComponent, bytesPerRow, space, bitmapInfo, releaseCallback); } /**
/** * @since Available in iOS 2.0 and later. */ public static CGBitmapContext create(byte[] data, long width, long height, long bitsPerComponent, long bytesPerRow, CGColorSpace space, CGBitmapInfo bitmapInfo) { BytePtr ptr = new BytePtr(); ptr.set(data); return create(ptr.as(IntPtr.class), width, height, bitsPerComponent, bytesPerRow, space, bitmapInfo); } /**
/** * @since Available in iOS 4.0 and later. */ public static CGBitmapContext create(byte[] data, long width, long height, long bitsPerComponent, long bytesPerRow, CGColorSpace space, CGBitmapInfo bitmapInfo, ReleaseDataCallback releaseCallback) { BytePtr ptr = new BytePtr(); ptr.set(data); return create(ptr.as(IntPtr.class), width, height, bitsPerComponent, bytesPerRow, space, bitmapInfo, releaseCallback); } /**
/** * @since Available in iOS 2.0 and later. */ public static CGBitmapContext create(byte[] data, long width, long height, long bitsPerComponent, long bytesPerRow, CGColorSpace space, CGImageAlphaInfo alphaInfo) { BytePtr ptr = new BytePtr(); ptr.set(data); return create(ptr.as(IntPtr.class), width, height, bitsPerComponent, bytesPerRow, space, new CGBitmapInfo(alphaInfo.value())); } /**
/** * @since Available in iOS 2.0 and later. */ public static CGBitmapContext create(byte[] data, long width, long height, long bitsPerComponent, long bytesPerRow, CGColorSpace space, CGImageAlphaInfo alphaInfo) { BytePtr ptr = new BytePtr(); ptr.set(data); return create(ptr.as(IntPtr.class), width, height, bitsPerComponent, bytesPerRow, space, new CGBitmapInfo(alphaInfo.value())); } /**