cobs-internal function

Internal COBS functions