Sisk

Method

HttpResponseStreamManager.Write

Namespace
Sisk.Core.Http.Streams
Assembly
Sisk.Core.dll

Write(ReadOnlySpan<byte>) #

Writes an sequence of bytes to the HTTP response stream.

C#
public void Write(ReadOnlySpan<byte> buffer)

Parameters #

buffer ReadOnlySpan<byte>

The read only memory that includes the buffer which will be written to the HTTP response.

Write(byte[]) #

Writes an sequence of bytes to the HTTP response stream.

C#
public void Write(byte[] buffer)

Parameters #

buffer byte[]

The byte array that includes the buffer which will be written to the HTTP response.

Write(byte[], int, int) #

Writes a range of bytes from a byte array to the HTTP response stream.

C#
public void Write(byte[] buffer, int offset, int count)

Parameters #

buffer byte[]

The byte array to write data from.

offset int

The zero-based byte offset in buffer at which to begin writing bytes.

count int

The maximum number of bytes to write.

Type to search the documentation and the API reference.