NistFileWriter

class NistFileWriter(val outputStream: OutputStream) : AutoCloseable

The NistFileWriter class provides functionality for writing NistFile objects to an output stream.

This class is responsible for handling the serialization of NistFile contents into their corresponding binary format as defined by the NIST standards. The writing process ensures compliance with record type handling and ordering as described in the transaction information record. It supports multiple record types and delegates their individual serialization to appropriate record handlers tailored for each type.

Constructors

Link copied to clipboard
constructor(outputStream: OutputStream)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
fun write(file: NistFile)

Writes the content of the provided NistFile to the specified OutputStream.