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. Note that the bytes will be written as given; to write characters that will be translated according to the default charset, use the print(char[]) or println(char[]) methods.
Java reference for java.io.PrintStream.writeBytes.