typedef char foo_t[6]; class Foo { protected: char bytes[6]; public: void doSomething(); };