Declaration

func read(
    _ data: Data,
    to layer: GSLayer,
    bounds outBounds: UnsafeMutablePointer<NSRect>?
) throws

Declaration

- (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]