public static DeviceRemoved GetRootAsDeviceRemoved(ByteBuffer _bb, DeviceRemoved obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }