NSData.FromBytes(IntPtr, nuint) Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Crea un NSData a partir de un bloque en memoria especificando su dirección y longitud.
[Foundation.Export("dataWithBytes:length:")]
public static Foundation.NSData FromBytes (IntPtr bytes, nuint size);
static member FromBytes : nativeint * nuint -> Foundation.NSData
Parámetros
- bytes
-
IntPtr
nativeint
Puntero a un bloque de datos en memoria.
- size
- System.System.UIntPtr System.unativeint
Tamaño del bloque que desea encapsular
Devoluciones
Objeto NSData recién creado que ajusta el búfer.
- Atributos