Invention Grant
- Patent Title: Improvements for Base64 encoding and decoding
- Patent Title (中): Base64编码和解码的改进
-
Application No.: US14772365Application Date: 2014-03-07
-
Publication No.: US09407284B2Publication Date: 2016-08-02
- Inventor: Eric J. Ruff , John W. Ogilvie
- Applicant: NUMBERGUN LLC
- Applicant Address: US UT Sandy
- Assignee: John W. Ogilvie
- Current Assignee: John W. Ogilvie
- Current Assignee Address: US UT Sandy
- Agency: Ogilvie Law Firm
- International Application: PCT/US2014/022021 WO 20140307
- International Announcement: WO2014/150056 WO 20140925
- Main IPC: H03M7/00
- IPC: H03M7/00 ; H03M5/14 ; G06F17/30 ; G06F17/22 ; H03M7/30 ; H03M7/14 ; H03M7/40

Abstract:
Base64 encoding and decoding advances are characterized. Some embodiments rely on only a single bit shifting operation; some have no reliance on bit-shifting. Some access data source bytes with multi-byte reads, and use those data source bytes as indexes into an encoding lookup table. Some use a table with four quadrants, each of which contains a copy of the same 64 encoding values. Some use a negative value as both a counter and an index. Some exclude BSWAP instructions even with a little-endian processor. Some partition a data source into N partitions, which are then encoded or decoded concurrently. In some, partition length is based on expected processor performance. Unrolled loops, exemplary assembly language code and coding choices, division using MagicNumber multiplication, terminal null addition, encoding/decoding applications, and other examples are also presented.
Public/Granted literature
- US20160020782A1 IMPROVEMENTS FOR BASE64 ENCODING AND DECODING Public/Granted day:2016-01-21
Information query