Read write binary data