API to read a byte[] directly.

Currently this is possible by reading through a ByteString, but that
costs a copy of the underlying bytes.