Next: , Previous: , Up: built-in ports labels   [Contents][Index]


6.23.8.6 Binary input port labels

Label Type: <binary-input-port>

Label–type for all the binary ports. Its parent is the type annotation:

(or <binary-input-only-port> <binary-input/output-port>)
Constructor on <binary-input-port>: <binary-input-port> type-constructor port

Validate port as instance of <binary-input-port> and return it.

Type predicate on <binary-input-port>: <boolean> type-predicate obj

The type predicate is built combining the parent types’ type predicates.

Equality predicate on <binary-input-port>: <boolean> equality-predicate this {port <binary-input-port>}

The equality predicate is eq?.

Type predicate on <binary-input-port>: <non-negative-fixnum> hash-function this

The hash function is port-hash.

Methods: predicates

Method on <binary-input-port>: <boolean> open? this
Method on <binary-input-port>: <boolean> closed? this

Return #t if this is, respectively, open or closed; otherwise return #f.

Methods: configuration

Method on <binary-input-port>: () set-non-blocking-mode this
Method on <binary-input-port>: () unset-non-blocking-mode this

Apply port-set-non-blocking-mode! or port-unset-non-blocking-mode! to the argument and return its return value.

Method on <binary-input-port>: <boolean> non-blocking-mode? this

Apply port-in-non-blocking-mode? to the argument and return its return value.

Methods: position

Method on <binary-input-port>: <boolean> has-position? this

Apply port-has-port-position? to the argument and return its return value.

Method on <binary-input-port>: <boolean> has-set-position? this

Apply port-has-set-port-position!? to the argument and return its return value.

Method on <binary-input-port>: <non-negative-exact-integer> position this
Method on <binary-input-port>: () position this {pos <non-negative-exact-integer>}

Apply port-position or set-port-position! to the arguments and return its return value.

Methods: inspection

Method on <binary-input-port>: <string> id this

Apply port-id! to the argument and return its return value.

Method on <binary-input-port>: (or <false> <file-descriptor>) fd this

Apply port-fd to the argument and return its return value.

Method on <binary-input-port>: <gensym> uid this

Apply port-uid to the argument and return its return value.

Method on <binary-input-port>: () dump-status this

Apply port-dump-status to the argument and return its return value.

Method on <binary-input-port>: (or <transcoder> <false>) transcoder this

Apply port-transcoder to the argument and return its return value.

Methods: properties

Method on <binary-input-port>: () putprop this {key <symbol>} value

Apply port-putprop to the arguments and return its return value.

Method on <binary-input-port>: <top> getprop this {key <symbol>}

Apply port-getprop to the arguments and return its return value.

Method on <binary-input-port>: () remprop this {key <symbol>}

Apply port-remprop to the arguments and return its return value.

Method on <binary-input-port>: (alist <symbol> <top>) property-list this

Apply port-property-list to the arguments and return its return value.

Methods: miscellaneous

Method on <binary-input-port>: () close this

Apply port-close to the argument.

Method on <binary-input-port>: <boolean> reset this

Apply reset-input-port! or reset-output-port! to the argument.

Methods: input ports

Method on <binary-input-port>: <boolean> eof? this

Apply port-eof? to the instance and return its return value.


Next: , Previous: , Up: built-in ports labels   [Contents][Index]