Bandwidth: { create(base?): Bandwidth; decode(input,
length?): Bandwidth; encode(message,
writer?): Writer; fromJSON(object): Bandwidth; fromPartial(object): Bandwidth; toJSON(message): unknown; } Type declaration
create:function
- create(base?): Bandwidth
Parameters
Optional
base: {
download?: string;
upload?: string;
}
Optional
download?: string
Optional
upload?: string
decode:function
- decode(input, length?): Bandwidth
Parameters
input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial(object): Bandwidth
Parameters
object: {
download?: string;
upload?: string;
}
Optional
download?: string
Optional
upload?: string
toJSON:function
- toJSON(message): unknown
Returns unknown