expose a WriteByte method