Differentiate byte and word buffer helper function names
Add version for reading+writing streams with network endianness