List<int> asByteArray() { if (this is ByteArrayTag) { return (this as ByteArrayTag).value; } else { return []; } }