StreamExtensionsReadUntilFirstNullByte Method

Overload List

ReadUntilFirstNullByte(Stream) Reads the bytes of the specified Stream until the first null (zero) byte is found, or until the end, in case of a null byte is not found.
ReadUntilFirstNullByte(Stream, Int64) Reads the bytes of the specified Stream until the first null (zero) byte is found, or until the end, in case of a null byte is not found.
ReadUntilFirstNullByte(Stream, Encoding) Reads the bytes of the specified Stream until the first null (zero) byte is found, or until the end, in case of a null byte is not found; and then converts the bytes read to a string representation using the specified text encoding.
ReadUntilFirstNullByte(Stream, Int64, Int64) Reads the bytes of the specified Stream until the first null (zero) byte is found, or until the end, in case of a null byte is not found.
ReadUntilFirstNullByte(Stream, Int64, Encoding) Reads the bytes of the specified Stream until the first null (zero) byte is found, or until the end, in case of a null byte is not found; and then converts the bytes read to a string representation using the specified text encoding.
ReadUntilFirstNullByte(Stream, Int64, Int64, Encoding) Reads the bytes of the specified Stream until the first null (zero) byte is found, or until the end, in case of a null byte is not found; and then converts the bytes read to a string representation using the specified text encoding.

See Also