public class Base64Dumper extends Dumper<Base64Dumper>
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
Base64Dumper()
Construct a new Base64Dumper with initial address offset 0.
|
Base64Dumper(int addressOffset)
Construct a new Base64Dumper.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
base64Dumper(byte[] bytes)
Create a HexDumper object with addressOffset 0; use it to dump an array of bytes and return the dump as a String.
|
static String |
base64Dumper(int addressOffset,
byte[] bytes)
Create a HexDumper object; use it to dump an array of bytes and return the dump as a String.
|
String |
toString() |
addDecoder, addDecoder, append, append, append, append, flush, getMaximumWidth, setOutputStream, setSuppressMultipleIdenticalLinespublic Base64Dumper(int addressOffset)
addressOffset - int; address of the first byte that will be appendedpublic Base64Dumper()
public static String base64Dumper(int addressOffset, byte[] bytes)
addressOffset - int; address of the first bytebytes - byte[]; the bytes to hex-dumpbytespublic static String base64Dumper(byte[] bytes)
bytes - byte[]; the bytes to hex-dumpbytespublic String toString()
toString in class Dumper<Base64Dumper>Copyright © 2018–2019 Delft University of Technology. All rights reserved.