CryptoStream.WriteByte(Byte) Método
Definição
Grava um byte na posição atual no fluxo e avança a posição dentro no fluxo em um byte.Writes a byte to the current position in the stream and advances the position within the stream by one byte.
public:
override void WriteByte(System::Byte value);
public override void WriteByte (byte value);
override this.WriteByte : byte -> unit
Public Overrides Sub WriteByte (value As Byte)
Parâmetros
- value
- Byte
O byte a ser gravado no fluxo.The byte to write to the stream.
Exceções
Ocorre um erro de E/S.An I/O error occurs.
O fluxo não dá suporte à gravação ou o fluxo já foi fechado.The stream does not support writing, or the stream is already closed.
Foram chamados métodos depois que o fluxo foi fechado.Methods were called after the stream was closed.
Comentários
Use a CanWrite propriedade para determinar se a instância atual oferece suporte à gravação.Use the CanWrite property to determine whether the current instance supports writing.