Java.IO.ByteArrayOutputStream: Method Members

The methods of Java.IO.ByteArrayOutputStream are listed below. For a list of all members, see the ByteArrayOutputStream Members list.

See Also: Inherited members from Java.IO.OutputStream

Public Methods

Reset()
Resets this stream to the beginning of the underlying byte array.
Size() : int
Returns the total number of bytes written to this stream so far.
ToByteArray() : byte[]
Returns the contents of this ByteArrayOutputStream as a byte array.
ToString(int) : string
Returns the contents of this ByteArrayOutputStream as a string.
ToString(string) : string
Returns the contents of this ByteArrayOutputStream as a string converted according to the encoding declared in charsetName.
override
Write(int)
Writes the specified byte oneByte to the OutputStream.
WriteTo(System.IO.Stream)
Takes the contents of this stream and writes it to the output stream out.
WriteToAsync(System.IO.Stream) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.