// NewByteStreamFrom creates a new byte stream that starts with the given
// byte array.
NewByteStreamFrom creates a new byte stream that starts with the given
byte array.
// NewByteStreamFrom creates a new byte stream that starts with the given // byte array .
func NewByteStreamFrom(data []byte) ByteStream {
	return ByteStream{
		data:        data,
		writeOffset: len(data),
	}
}
func NewByteStreamFrom ( data [ ] byte ) ByteStream { return ByteStream { data : data , writeOffset : len ( data ) , } }
NewByteStreamFrom creates a new byte stream that starts with the given
byte array.
NewByteStreamFrom creates a new byte stream that starts with the given byte array .