Skip to content

Simple and opportunistic POC to decode QRCode

Notifications You must be signed in to change notification settings

alexrochas/jcodec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JCodec

Simple and opportunistic POC to decode QRCode

How-to

For a input string 0102120504123403123

  List<Codec> hCodecs = new ArrayList<>();
  hCodecs.add(new LLCodec("01", "Padding two and size 02", 2));
  hCodecs.add(new LLCodec("05", "Padding two and size 05", 2));
  hCodecs.add(new LLCodec("My Key", "Without padding with size 03"));
  
  Map<String, String> decoded = new HCodec(hCodecs).decode(input).getLeft();

The return will be a Map with:

{
  "01" -> "12",
  "05" -> "1234",
  "My Key" -> "123"
}

Meta

Alex Rocha - about.me -

About

Simple and opportunistic POC to decode QRCode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published