decode_keyed_request Subroutine

public subroutine decode_keyed_request(bytes, key)

Decode the {"args":{"key":}} shape shared by GET_ and SET_. SET adds a value field; SET decoders call this first to extract the key, then decode value separately.

Arguments

Type IntentOptional Attributes Name
integer(kind=int8), intent(in) :: bytes(:)
character(len=*), intent(out) :: key