Added methods body for readByte, writeByte and writeMatch