public static YachtActionCode Read(byte[] buf) { var ya = new YachtActionCode(); Read(buf, 0, ya); return ya; }