BinaryStreamReader/BinaryStreamWriter value class

This avoids unnecessary instantiation of BinaryStreamReader or
BinaryStreamWriter classes, since the compile optimizes their methods to
static methods.