BinaryLogFile

A specialized FileOutputStream that writes data to a file in the application's external files directory. Primarily used for low-level protocol debugging and packet logging.

Parameters

context

The context used to locate the external files directory.

name

The name of the log file.

Constructors

Link copied to clipboard
constructor(context: Context, name: String)

Properties

Link copied to clipboard
open val channel: FileChannel?
Link copied to clipboard

Functions

Link copied to clipboard
open fun close()
Link copied to clipboard
open fun flush()
Link copied to clipboard
open fun write(b: ByteArray?)
open fun write(b: Int)
open fun write(b: ByteArray?, off: Int, len: Int)