refactor RawToFixed, so internal function can be called to create a buffer
refactor RawToFixed, so internal function can be called to create a buffer

Signed-off-by: Huamin Chen <189ba2094394fe2405c0b389ea871c17bd3a5861@redhat.com>

rubiojr/go-vhd,rubiojr/go-vhd