Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

edgify / rook   python

Repository URL to install this package:

Version: 0.1.176 

/ com_ws / envelope_wrappers / basic_envelope_wrapper.py

from rook.com_ws.envelope_wrappers.i_envelope_wrapper import IEnvelopeWrapper


class BasicEnvelopeWrapper(IEnvelopeWrapper):
    def __init__(self, message):
        self.buffer = message

    def get_buffer(self):
        return self.buffer

    def __len__(self):
        return len(self.buffer)