[z1912] Added appendPackXYZ to ByteBuffer class.

Signed-off-by: SilverIce <slifeleaf@gmail.com>

(based on commit c213852)

Signed-off-by: stfx <stfx@hotmail.de>