public class ByteArrayRedisSerializer
extends java.lang.Object
implements org.springframework.data.redis.serializer.RedisSerializer<byte[]>
| 构造器和说明 |
|---|
ByteArrayRedisSerializer() |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
deserialize(byte[] bytes) |
byte[] |
serialize(byte[] bytes) |
@Nullable
public byte[] serialize(@Nullable
byte[] bytes)
throws org.springframework.data.redis.serializer.SerializationException
serialize 在接口中 org.springframework.data.redis.serializer.RedisSerializer<byte[]>org.springframework.data.redis.serializer.SerializationException@Nullable
public byte[] deserialize(@Nullable
byte[] bytes)
throws org.springframework.data.redis.serializer.SerializationException
deserialize 在接口中 org.springframework.data.redis.serializer.RedisSerializer<byte[]>org.springframework.data.redis.serializer.SerializationExceptionCopyright © 2026 The Apache Software Foundation. All rights reserved.