BitVectorSocket

skunk.net.BitVectorSocket
See theBitVectorSocket companion object
trait BitVectorSocket[F[_]]

A higher-level Socket interface defined in terms of BitVector.

Attributes

Companion:
object
Source:
BitVectorSocket.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def read(nBytes: Int): F[BitVector]

Read nBytes bytes (not bits!) from the socket, or fail with an exception if EOF is reached before nBytes bytes are received.

Read nBytes bytes (not bits!) from the socket, or fail with an exception if EOF is reached before nBytes bytes are received.

Attributes

Source:
BitVectorSocket.scala
def write(bits: BitVector): F[Unit]

Write the specified bits to the socket.

Write the specified bits to the socket.

Attributes

Source:
BitVectorSocket.scala