PrintStream.WriteBytes(Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes all bytes from the specified byte array to this stream.
[Android.Runtime.Register("writeBytes", "([B)V", "GetWriteBytes_arrayBHandler", ApiSince=34)]
public virtual void WriteBytes(byte[]? buf);
[<Android.Runtime.Register("writeBytes", "([B)V", "GetWriteBytes_arrayBHandler", ApiSince=34)>]
abstract member WriteBytes : byte[] -> unit
override this.WriteBytes : byte[] -> unit
Parameters
- buf
- Byte[]
A byte array
- Attributes
Remarks
Writes all bytes from the specified byte array to this stream. If automatic flushing is enabled then the flush method will be invoked. The bytes are written as given; to encode characters using this stream's charset, use Print(Char[]) or Println(Char[]).
Java reference for java.io.PrintStream.writeBytes.