ISessionOutputBuffer.Write 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.
Overloads
| Name | Description |
|---|---|
| Write(Byte[]) |
Writes all bytes from an array to the output buffer. |
| Write(Int32) |
Writes one byte to the output buffer. |
| Write(Byte[], Int32, Int32) |
Writes the specified part of an array to the output buffer. |
Write(Byte[])
Writes all bytes from an array to the output buffer.
[Android.Runtime.Register("write", "([B)V", "GetWrite_arrayBHandler:Org.Apache.Http.IO.ISessionOutputBufferInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Write(byte[]? b);
[<Android.Runtime.Register("write", "([B)V", "GetWrite_arrayBHandler:Org.Apache.Http.IO.ISessionOutputBufferInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Write : byte[] -> unit
Parameters
- b
- Byte[]
The array of bytes to write.
- Attributes
Exceptions
An I/O error occurs while writing bytes.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
Write(Int32)
Writes one byte to the output buffer.
[Android.Runtime.Register("write", "(I)V", "GetWrite_IHandler:Org.Apache.Http.IO.ISessionOutputBufferInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Write(int b);
[<Android.Runtime.Register("write", "(I)V", "GetWrite_IHandler:Org.Apache.Http.IO.ISessionOutputBufferInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Write : int -> unit
Parameters
- b
- Int32
The value whose low-order eight bits are written.
- Attributes
Exceptions
An I/O error occurs while writing a byte.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
Write(Byte[], Int32, Int32)
Writes the specified part of an array to the output buffer.
[Android.Runtime.Register("write", "([BII)V", "GetWrite_arrayBIIHandler:Org.Apache.Http.IO.ISessionOutputBufferInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Write(byte[]? b, int off, int len);
[<Android.Runtime.Register("write", "([BII)V", "GetWrite_arrayBIIHandler:Org.Apache.Http.IO.ISessionOutputBufferInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Write : byte[] * int * int -> unit
Parameters
- b
- Byte[]
The array that contains the bytes to write.
- off
- Int32
The zero-based index in b of the first byte to write.
- len
- Int32
The number of bytes to write.
- Attributes
Exceptions
An I/O error occurs while writing bytes.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.