Unpack multibyte binary values from buffers and streams