read
XuAPI
pub fn read(n int) stringPurpose
Read up to max bytes. Throws on failure; handle the error or propagate it to the caller.
Parameters
nint- count, length, or limit (int)
Returns
string — result string
#crypto/randRead cryptographic random bytes. Hosted Unix uses /dev/urandom; other targets come later.
readpub fn read(n int) stringRead up to max bytes. Throws on failure; handle the error or propagate it to the caller.
n intstring — result string