Idioma

Files.NewByteChannel Método

Definição

Sobrecargas

Nome Description
NewByteChannel(IPath, IOpenOption[])

Abre ou cria um arquivo, retornando um canal de bytes pesquisável para acessar o arquivo.

NewByteChannel(IPath, ICollection<IOpenOption>, IFileAttribute[])

Abre ou cria um arquivo, retornando um canal de bytes pesquisável para acessar o arquivo.

NewByteChannel(IPath, IOpenOption[])

Abre ou cria um arquivo, retornando um canal de bytes pesquisável para acessar o arquivo.

[Android.Runtime.Register("newByteChannel", "(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/SeekableByteChannel;", "", ApiSince=26)]
public static Java.Nio.Channels.ISeekableByteChannel? NewByteChannel(Java.Nio.FileNio.IPath? path, params Java.Nio.FileNio.IOpenOption[]? options);
[<Android.Runtime.Register("newByteChannel", "(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/SeekableByteChannel;", "", ApiSince=26)>]
static member NewByteChannel : Java.Nio.FileNio.IPath * Java.Nio.FileNio.IOpenOption[] -> Java.Nio.Channels.ISeekableByteChannel

Parâmetros

path
IPath

o caminho para o arquivo abrir ou criar

options
IOpenOption[]

opções que especificam como o arquivo é aberto

Retornos

um novo canal de bytes que pode ser procurado

Atributos

Comentários

Java documentação para java.nio.file.Files.newByteChannel(java.nio.file.Path, java.nio.file.OpenOption).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a

NewByteChannel(IPath, ICollection<IOpenOption>, IFileAttribute[])

Abre ou cria um arquivo, retornando um canal de bytes pesquisável para acessar o arquivo.

[Android.Runtime.Register("newByteChannel", "(Ljava/nio/file/Path;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/SeekableByteChannel;", "", ApiSince=26)]
public static Java.Nio.Channels.ISeekableByteChannel? NewByteChannel(Java.Nio.FileNio.IPath? path, System.Collections.Generic.ICollection<Java.Nio.FileNio.IOpenOption>? options, params Java.Nio.FileNio.Attributes.IFileAttribute[]? attrs);
[<Android.Runtime.Register("newByteChannel", "(Ljava/nio/file/Path;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/SeekableByteChannel;", "", ApiSince=26)>]
static member NewByteChannel : Java.Nio.FileNio.IPath * System.Collections.Generic.ICollection<Java.Nio.FileNio.IOpenOption> * Java.Nio.FileNio.Attributes.IFileAttribute[] -> Java.Nio.Channels.ISeekableByteChannel

Parâmetros

path
IPath

o caminho para o arquivo abrir ou criar

options
ICollection<IOpenOption>

opções que especificam como o arquivo é aberto

attrs
IFileAttribute[]

uma lista opcional de atributos de arquivo a serem definidos atomicamente ao criar o arquivo

Retornos

um novo canal de bytes que pode ser procurado

Atributos

Comentários

Java documentação para java.nio.file.Files.newByteChannel(java.nio.file.Path, java.nio.file.OpenOption).

Java referência para java.nio.file.Files.newByteChannel.

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a