Instance Method
read(_:to:bounds:) readData:toLayer:bounds:error: readData_toLayer_bounds_error_
Declaration
func read(
_ data: Data,
to layer: GSLayer,
bounds outBounds: UnsafeMutablePointer<NSRect>?
) throwsDeclaration
- (BOOL) readData:(NSData *) data
toLayer:(GSLayer *) layer
bounds:(NSRect *) outBounds
error:(NSError **) error;Declaration
readData_toLayer_bounds_error_(
data: bytes,
layer: GSLayer,
outBounds: NSRect
) -> tuple[bool, NSError]