Skip to content
Discussion options

You must be logged in to vote

I haven't got to base64 yet. I'm still working out how to parse the json file.

The structure is like this

gzip file
-> json file
--> Bunch of tags
--> id
--> base64 string
---> gzip file
----> json file
-----> bunch of tags
-----> id

--> Bunch of tags
--> id
--> base64 string
---> gzip file
----> json file
-----> bunch of tags
-----> id

This is how I'm doing gunzip

tempOutput = io.popen('gzip -d -S 9kf -k "'..fileToConvertPath..'"')

To gzip
tempOutput = io.popen('gzip -S .9kp -k -f "'..destinationPath..'*."')

This is the library I'm looking at using for base64

--#!/usr/bin/env lua
-- Lua 5.1+ base64 v3.0 (c) 2009 by Alex Kloss <alexthkloss@web.de>
-- licensed under the terms of the LGPL2…

Replies: 19 comments 26 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@Godlike-Productions
Comment options

@damiensellier
Comment options

@damiensellier
Comment options

@Godlike-Productions
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Godlike-Productions
Comment options

Comment options

You must be logged in to vote
2 replies
@Godlike-Productions
Comment options

@dnaldoog
Comment options

Comment options

You must be logged in to vote
1 reply
@Godlike-Productions
Comment options

Answer selected by Godlike-Productions
Comment options

You must be logged in to vote
3 replies
@damiensellier
Comment options

@Godlike-Productions
Comment options

@dnaldoog
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@damiensellier
Comment options

Comment options

You must be logged in to vote
2 replies
@damiensellier
Comment options

@damiensellier
Comment options

Comment options

You must be logged in to vote
9 replies
@damiensellier
Comment options

@Godlike-Productions
Comment options

@Godlike-Productions
Comment options

@dnaldoog
Comment options

@Godlike-Productions
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@dnaldoog
Comment options

@Godlike-Productions
Comment options

Comment options

You must be logged in to vote
1 reply
@Godlike-Productions
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants