@Override
    public void write(FieldBase field, BoolFieldValue value) {
        byte asByte = value.getBoolean() ? (byte)1 : (byte)0;
        buf.put(asByte);
    }
Write out the value of byte field

@param field - field description (name and data type)
@param value - field value
document/src/main/java/com/yahoo/document/serialization/VespaDocumentSerializer6.java