1Copyright (c) 2016, Arturo Martin-de-Nicolas
2[email protected]
3https://github.com/amdn/itoa_ljust/
4All rights reserved.
5
6This implementation is loosely based on the structure of FastInt32ToBufferLeft
7in:
8
9Protocol Buffers - Google's data interchange format
10Copyright 2008 Google Inc.  All rights reserved.
11https://developers.google.com/protocol-buffers/
12
13Redistribution and use in source and binary forms, with or without
14modification, are permitted provided that the following conditions are
15met:
16
17* Redistributions of source code must retain the above copyright
18notice, this list of conditions and the following disclaimer.
19
20* Redistributions in binary form must reproduce the above
21copyright notice, this list of conditions and the following disclaimer
22in the documentation and/or other materials provided with the
23distribution.
24
25* Neither the name of Google Inc. nor the names of its
26contributors may be used to endorse or promote products derived from
27this software without specific prior written permission.
28
29THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
30"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
31LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
32A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
33OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
34SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
35LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
36DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
37THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
38(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
39OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40