Package org.djutils.decoderdumper
Class Base64Dumper
Decode base64 encoded data and dump it in hexadecimal format and (insofar possible) as characters.
 
 Copyright (c) 2013-2025 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See DJUTILS License.
 
- Author:
- Alexander Verbraeck, Peter Knoppers
- 
Constructor SummaryConstructorsConstructorDescriptionConstruct a new Base64Dumper with initial address offset 0.Base64Dumper(int addressOffset) Construct a new Base64Dumper.
- 
Method SummaryModifier and TypeMethodDescriptionstatic Stringbase64Dumper(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 Stringbase64Dumper(int addressOffset, byte[] bytes) Create a HexDumper object; use it to dump an array of bytes and return the dump as a String.toString()Methods inherited from class org.djutils.decoderdumper.DumperaddDecoder, addDecoder, append, append, append, append, flush, getMaximumWidth, setOutputStream, setSuppressMultipleIdenticalLines
- 
Constructor Details- 
Base64Dumperpublic Base64Dumper(int addressOffset) Construct a new Base64Dumper.- Parameters:
- addressOffset- address of the first byte that will be appended
 
- 
Base64Dumperpublic Base64Dumper()Construct a new Base64Dumper with initial address offset 0.
 
- 
- 
Method Details- 
base64DumperCreate a HexDumper object; use it to dump an array of bytes and return the dump as a String.- Parameters:
- addressOffset- address of the first byte
- bytes- the bytes to hex-dump
- Returns:
- the hexadecimal and character dump of the base64 decoded bytes
 
- 
base64DumperCreate a HexDumper object with addressOffset 0; use it to dump an array of bytes and return the dump as a String.- Parameters:
- bytes- the bytes to hex-dump
- Returns:
- the hexadecimal and character dump of the base64 decoded bytes
 
- 
toString- Overrides:
- toStringin class- Dumper<Base64Dumper>
 
 
-