HashOptions

@native @JSType trait HashOptions extends StObject with TransformOptions
Companion
object
trait Abortable
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

var outputLength: UndefOr[Double]

For XOF hash functions such as shake256, the outputLength option can be used to specify the desired output length in bytes.

For XOF hash functions such as shake256, the outputLength option can be used to specify the desired output length in bytes.

Inherited fields

var `final`: UndefOr[ThisFunction1[Duplex | Writable, Function1[UndefOr[Error | Null], Unit], Unit]]
Inherited from
DuplexOptions
var allowHalfOpen: UndefOr[Boolean]
Inherited from
DuplexOptions
var autoDestroy: UndefOr[Boolean]
Inherited from
StreamOptions
var construct: UndefOr[ThisFunction1[Readable, Function1[UndefOr[Error | Null], Unit], Unit]]
Inherited from
StreamOptions
@JSName("construct")
var construct_DuplexOptions: UndefOr[ThisFunction1[Duplex, Function1[UndefOr[Error | Null], Unit], Unit]]
Inherited from
DuplexOptions
@JSName("construct")
var construct_TransformOptions: UndefOr[ThisFunction1[Transform, Function1[UndefOr[Error | Null], Unit], Unit]]
Inherited from
TransformOptions
var decodeStrings: UndefOr[Boolean]
Inherited from
DuplexOptions
Inherited from
DuplexOptions
var destroy: UndefOr[ThisFunction2[Readable, Error | Null, Function1[Error | Null, Unit], Unit]]
Inherited from
StreamOptions
@JSName("destroy")
var destroy_DuplexOptions: UndefOr[ThisFunction2[Duplex, Error | Null, Function1[Error | Null, Unit], Unit]]
Inherited from
DuplexOptions
@JSName("destroy")
var destroy_TransformOptions: UndefOr[ThisFunction2[Transform, Error | Null, Function1[Error | Null, Unit], Unit]]
Inherited from
TransformOptions
var emitClose: UndefOr[Boolean]
Inherited from
StreamOptions
var encoding: UndefOr[BufferEncoding]
Inherited from
ReadableOptions
@JSName("final")
var final_TransformOptions: UndefOr[ThisFunction1[Transform, Function1[UndefOr[Error | Null], Unit], Unit]]
Inherited from
TransformOptions
var flush: UndefOr[ThisFunction1[Transform, TransformCallback, Unit]]
Inherited from
TransformOptions
var highWaterMark: UndefOr[Double]
Inherited from
StreamOptions
var objectMode: UndefOr[Boolean]
Inherited from
StreamOptions
var read: UndefOr[ThisFunction1[Readable, Double, Unit]]
Inherited from
ReadableOptions
@JSName("read")
var read_DuplexOptions: UndefOr[ThisFunction1[Duplex, Double, Unit]]
Inherited from
DuplexOptions
@JSName("read")
var read_TransformOptions: UndefOr[ThisFunction1[Transform, Double, Unit]]
Inherited from
TransformOptions
var readableHighWaterMark: UndefOr[Double]
Inherited from
DuplexOptions
var readableObjectMode: UndefOr[Boolean]
Inherited from
DuplexOptions
var signal: UndefOr[AbortSignal]

When provided the corresponding AbortController can be used to cancel an asynchronous action.

When provided the corresponding AbortController can be used to cancel an asynchronous action.

Inherited from
Abortable
var transform: UndefOr[ThisFunction3[Transform, Any, BufferEncoding, TransformCallback, Unit]]
Inherited from
TransformOptions
var writableCorked: UndefOr[Double]
Inherited from
DuplexOptions
var writableHighWaterMark: UndefOr[Double]
Inherited from
DuplexOptions
var writableObjectMode: UndefOr[Boolean]
Inherited from
DuplexOptions
var write: UndefOr[ThisFunction3[Duplex | Writable, Any, BufferEncoding, Function1[UndefOr[Error | Null], Unit], Unit]]
Inherited from
DuplexOptions
@JSName("write")
var write_TransformOptions: UndefOr[ThisFunction3[Transform, Any, BufferEncoding, Function1[UndefOr[Error | Null], Unit], Unit]]
Inherited from
TransformOptions
var writev: UndefOr[ThisFunction2[Duplex | Writable, Array[Chunk], Function1[UndefOr[Error | Null], Unit], Unit]]
Inherited from
DuplexOptions
@JSName("writev")
var writev_TransformOptions: UndefOr[ThisFunction2[Transform, Array[Chunk], Function1[UndefOr[Error | Null], Unit], Unit]]
Inherited from
TransformOptions